From b35ecdfaff3c26993cabfb91ee8a7c5c015a4816 Mon Sep 17 00:00:00 2001 From: Ahmed Abushagur Date: Mon, 2 Mar 2026 10:57:44 -0800 Subject: [PATCH] fix(e2e): drop --timeout flag from openclaw agent command (#2109) The outer cloud_exec_long already enforces a timeout via INPUT_TEST_TIMEOUT. The inner --timeout 60 was redundant and could cause premature kills before the outer timeout expired. Co-authored-by: Claude Opus 4.6 Co-authored-by: A <258483684+la14-1@users.noreply.github.com> --- sh/e2e/lib/verify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/e2e/lib/verify.sh b/sh/e2e/lib/verify.sh index d86c4e8c..3ab43d73 100644 --- a/sh/e2e/lib/verify.sh +++ b/sh/e2e/lib/verify.sh @@ -106,7 +106,7 @@ input_test_openclaw() { remote_cmd="source ~/.spawnrc 2>/dev/null; \ export PATH=\$HOME/.npm-global/bin:\$HOME/.bun/bin:\$HOME/.local/bin:\$PATH; \ rm -rf /tmp/e2e-test && mkdir -p /tmp/e2e-test && cd /tmp/e2e-test && git init -q; \ - PROMPT=\$(printf '%s' '${encoded_prompt}' | base64 -d); openclaw agent --message \"\$PROMPT\" --session-id e2e-test --json --timeout 60" + PROMPT=\$(printf '%s' '${encoded_prompt}' | base64 -d); openclaw agent --message \"\$PROMPT\" --session-id e2e-test --json" local output output=$(cloud_exec_long "${app}" "${remote_cmd}" "${INPUT_TEST_TIMEOUT}" 2>&1) || true