Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(tests): add legacy tests for storage layout

Steven Enamakel98571825bb96
diff --git a/crates/openhuman-core/src/storage/layout/legacy_tests.rs b/crates/openhuman-core/src/storage/layout/legacy_tests.rs
index acda5998d6..23d089af71 100644
--- a/crates/openhuman-core/src/storage/layout/legacy_tests.rs
+++ b/crates/openhuman-core/src/storage/layout/legacy_tests.rs
@@ -27,10 +27,9 @@ async fn importing_twice_changes_nothing() {
let first = super::super::db::table_counts(&v1_db(&fx.target)).unwrap();
import(&fx.target, &fx.config).await.unwrap();
migrate(&fx.target).await.unwrap();
- assert_eq!(
- super::super::db::table_counts(&v1_db(&fx.target)).unwrap(),
- first
- );
+ let second = super::super::db::table_counts(&v1_db(&fx.target)).unwrap();
+ eprintln!("DBG first={first:?} second={second:?}");
+ assert_eq!(second, first);
}
#[tokio::test(flavor = "multi_thread")]