Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

test(host): give end-to-end API calls time on a busy machine

leepokaidb449b144ca7
diff --git a/host/tests/files_e2e.rs b/host/tests/files_e2e.rs
index 36010266..0249bbce 100644
--- a/host/tests/files_e2e.rs
+++ b/host/tests/files_e2e.rs
@@ -43,7 +43,8 @@ impl Host {
.post(format!("{}/api/{method}", self.base))
.bearer_auth(&self.token)
.json(&body)
- .timeout(Duration::from_secs(10))
+ // As long as `common::host`'s: on a busy machine (parallel tests) `createBot` alone can take over 10 s.
+ .timeout(Duration::from_secs(120))
.send()
.await;
let response = response_result.unwrap();
diff --git a/host/tests/routines_e2e.rs b/host/tests/routines_e2e.rs
index eac13c3e..c2b96e02 100644
--- a/host/tests/routines_e2e.rs
+++ b/host/tests/routines_e2e.rs
@@ -45,7 +45,8 @@ impl Host {
.post(format!("{}/api/{method}", self.base))
.bearer_auth(&self.token)
.json(&body)
- .timeout(Duration::from_secs(10))
+ // As long as `common::host`'s: on a busy machine (parallel tests) `createBot` alone can take over 10 s.
+ .timeout(Duration::from_secs(120))
.send()
.await
.unwrap();
diff --git a/host/tests/team_e2e.rs b/host/tests/team_e2e.rs
index 802250b1..1a23ff57 100644
--- a/host/tests/team_e2e.rs
+++ b/host/tests/team_e2e.rs
@@ -39,7 +39,8 @@ impl Host {
.post(format!("{}/api/{method}", self.base))
.bearer_auth(&self.token)
.json(&body)
- .timeout(Duration::from_secs(10))
+ // As long as `common::host`'s: on a busy machine (parallel tests) `createBot` alone can take over 10 s.
+ .timeout(Duration::from_secs(120))
.send()
.await
.unwrap();