Skip to content

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

chore: files changed tests/saas_mode/cluster.rs,tests/saas_mode/support.rs,tests/saas_mode_e2e.rs

Steven Enamakelb96267af29fd
diff --git a/tests/saas_mode/cluster.rs b/tests/saas_mode/cluster.rs
index 11588dbb1e..93edca5b89 100644
--- a/tests/saas_mode/cluster.rs
+++ b/tests/saas_mode/cluster.rs
@@ -7,7 +7,6 @@
//! and never answers ([`hanging_backend`]).
use super::*;
-use std::process::Child;
/// A backend that holds every inference request open without answering, so
/// a turn that reaches inference stays in flight until it is cancelled or its
diff --git a/tests/saas_mode/support.rs b/tests/saas_mode/support.rs
index 200774598f..cd7588b586 100644
--- a/tests/saas_mode/support.rs
+++ b/tests/saas_mode/support.rs
@@ -337,7 +337,7 @@ pub struct Node {
}
impl Node {
- fn log_tail(&self) -> String {
+ pub fn log_tail(&self) -> String {
let log = std::fs::read_to_string(&self.log).unwrap_or_default();
// The polling RPCs drown everything else out.
let lines: Vec<&str> = log
@@ -347,7 +347,7 @@ impl Node {
lines[lines.len().saturating_sub(80)..].join("\n")
}
- fn kill(&mut self) {
+ pub fn kill(&mut self) {
// SIGKILL on Unix: no shutdown hook runs, no lease is released.
self.server.0.kill().expect("kill core");
let _ = self.server.0.wait();
diff --git a/tests/saas_mode_e2e.rs b/tests/saas_mode_e2e.rs
index d3574d556f..b4a099ac32 100644
--- a/tests/saas_mode_e2e.rs
+++ b/tests/saas_mode_e2e.rs
@@ -4,7 +4,6 @@
//! a safe one must serve nothing but its core built-ins behind the gateway
//! bearer until per-user isolation opens domain families.
-use std::path::PathBuf;
use std::process::{Command, Stdio};
use std::time::{Duration, Instant};