mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-19 16:39:50 +00:00
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 <noreply@anthropic.com> Co-authored-by: A <258483684+la14-1@users.noreply.github.com>
This commit is contained in:
parent
9c7fd0c7da
commit
b35ecdfaff
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue