Skip to content

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

test(saas_mode_e2e): capture core stdout in log file

Steven Enamakel7a6fd656aa12
diff --git a/tests/saas_mode_e2e.rs b/tests/saas_mode_e2e.rs
index 1056308262..b609757570 100644
--- a/tests/saas_mode_e2e.rs
+++ b/tests/saas_mode_e2e.rs
@@ -744,8 +744,8 @@ fn a_users_turn_reaches_inference_with_their_own_credential() {
let child = core_command(&d, &["--port", &port.to_string()])
.env("BACKEND_URL", format!("http://127.0.0.1:{backend}"))
.env("RUST_LOG", "debug")
- .stdout(Stdio::null())
- .stderr(std::fs::File::create(d.tmp.path().join("core.log")).unwrap())
+ .stdout(std::fs::File::create(d.tmp.path().join("core.log")).unwrap())
+ .stderr(Stdio::null())
.spawn()
.expect("spawn openhuman-core");
let server = Server(child);