Skip to content

Commit 8aede10

Browse files
jyaunchesclaude
andcommitted
fix(test): pass --yes to destroy in E2E test to skip confirmation prompt
The destroy command prompts for confirmation interactively, which hangs in CI/headless environments. Pass --yes to skip the prompt. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
1 parent 8cfc874 commit 8aede10

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/e2e/test-full-e2e.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ SANDBOX_NAME="${NEMOCLAW_SANDBOX_NAME:-e2e-nightly}"
8686
section "Phase 0: Pre-cleanup"
8787
info "Destroying any leftover sandbox/gateway from previous runs..."
8888
if command -v nemoclaw >/dev/null 2>&1; then
89-
nemoclaw "$SANDBOX_NAME" destroy 2>/dev/null || true
89+
nemoclaw "$SANDBOX_NAME" destroy --yes 2>/dev/null || true
9090
fi
9191
if command -v openshell >/dev/null 2>&1; then
9292
openshell sandbox delete "$SANDBOX_NAME" 2>/dev/null || true
@@ -325,7 +325,7 @@ fi
325325
# ══════════════════════════════════════════════════════════════════
326326
section "Phase 6: Cleanup"
327327

328-
nemoclaw "$SANDBOX_NAME" destroy 2>&1 | tail -3 || true
328+
nemoclaw "$SANDBOX_NAME" destroy --yes 2>&1 | tail -3 || true
329329
openshell gateway destroy -g nemoclaw 2>/dev/null || true
330330

331331
list_after=$(nemoclaw list 2>&1)

0 commit comments

Comments
 (0)