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: pin backend url in embedded shutdown e2e
Steven Enamakeld993d90b64d0
diff --git a/crates/openhuman-rpc/src/server/shims_tests.rs b/crates/openhuman-rpc/src/server/shims_tests.rsindex 0549f23c30..c96c675f07 100644--- a/crates/openhuman-rpc/src/server/shims_tests.rs+++ b/crates/openhuman-rpc/src/server/shims_tests.rs@@ -77,13 +77,9 @@ fn server_shim_refuses_public_bind_without_operator_token() {]);let services = ServiceSet::headless_api();- let error = super::run_server_with_services(- Some("0.0.0.0"),- Some(0),- services,- )- .await- .expect_err("public bind must require an operator-supplied token");+ let error = super::run_server_with_services(Some("0.0.0.0"), Some(0), services)+ .await+ .expect_err("public bind must require an operator-supplied token");assert!(error.to_string()diff --git a/tests/embedded_server_shutdown_e2e.rs b/tests/embedded_server_shutdown_e2e.rsindex 749134fa5b..d9b601230b 100644--- a/tests/embedded_server_shutdown_e2e.rs+++ b/tests/embedded_server_shutdown_e2e.rs@@ -48,6 +48,8 @@ async fn shutdown_token_stops_axum_listener_within_timeout() {std::env::set_var("OPENHUMAN_WORKSPACE", workspace.path());std::env::set_var("OPENHUMAN_DISABLE_CHANNEL_LISTENERS", "1");std::env::set_var("OPENHUMAN_CORE_TOKEN", "test-token-shutdown");+ // serve_desktop connects the TinyHumans layer; keep it off any real host.+ std::env::set_var("BACKEND_URL", "http://127.0.0.1:9");let probe = std::net::TcpListener::bind("127.0.0.1:0").expect("allocate test port");let port = probe.local_addr().expect("local addr").port();