Skip to content

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

test(session_store): add rebound tests for session store

Steven Enamakel454390dd857c
diff --git a/crates/openhuman-core/src/agent/session_store/rebound_tests.rs b/crates/openhuman-core/src/agent/session_store/rebound_tests.rs
index 28d9f20540..272d5fc757 100644
--- a/crates/openhuman-core/src/agent/session_store/rebound_tests.rs
+++ b/crates/openhuman-core/src/agent/session_store/rebound_tests.rs
@@ -15,7 +15,8 @@ fn a_rebind_moves_new_agents_to_the_new_backend() {
put_marker(&stores, &first);
let before = stores.destination_key();
- assert_eq!(rebind_all(&second), 1);
+ // Other tests' live stores in this process are rebound too.
+ assert!(rebind_all(&second) >= 1);
// The destination names the backend driver and a per-provider id; a
// rebound store is a different provider underneath.