The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(channels): relax ordering assertion in disabled debounce test
Steven Enamakel3fdee2adac52
diff --git a/crates/openhuman-core/src/channels/tests/runtime_debounce.rs b/crates/openhuman-core/src/channels/tests/runtime_debounce.rsindex 022ce6832d..fb95a3bbbb 100644--- a/crates/openhuman-core/src/channels/tests/runtime_debounce.rs+++ b/crates/openhuman-core/src/channels/tests/runtime_debounce.rs@@ -324,9 +324,15 @@ async fn disabled_config_runs_one_turn_per_message_in_order() {sleep_ms(100).await;run.finish().await;+ // Disabled merging means one turn per message. The loop hands them to the+ // turn runner in receive order (admission order is covered by the+ // `in_order` tests); the stub bus handler is reached over real async IO, so+ // the order it observes them in is not asserted here.assert_eq!(turns.count(), 2);- assert!(turns.user(0).ends_with("one"));- assert!(turns.user(1).ends_with("two"));+ let mut users = [turns.user(0), turns.user(1)];+ users.sort();+ assert!(users[0].ends_with("one"), "{users:?}");+ assert!(users[1].ends_with("two"), "{users:?}");}#[tokio::test(start_paused = true)]