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 stderr in a log file

Steven Enamakel3009f6c6cd73
diff --git a/tests/saas_mode_e2e.rs b/tests/saas_mode_e2e.rs
index 481f30dd1c..1c255bda18 100644
--- a/tests/saas_mode_e2e.rs
+++ b/tests/saas_mode_e2e.rs
@@ -743,8 +743,9 @@ fn a_users_turn_reaches_inference_with_their_own_credential() {
let port = free_port();
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(Stdio::null())
+ .stderr(std::fs::File::create(d.tmp.path().join("core.log")).unwrap())
.spawn()
.expect("spawn openhuman-core");
let server = Server(child);