Skip to content

Commit 815c155

Browse files
committed
fix(e2e): wait for VM shutdown completion
1 parent fcd6e42 commit 815c155

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • test-suites/full-stack-compose/scripts

test-suites/full-stack-compose/scripts/runner.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ wait_vm_stopped() {
115115
local id=$1 deadline=$((SECONDS + 180)) status
116116
while (( SECONDS < deadline )); do
117117
status=$("${VMM_CLI[@]}" info "$id" --json 2>/dev/null | jq -r '.status // ""' || true)
118-
[[ "$status" != running && "$status" != starting ]] && return
118+
[[ "$status" == stopped || "$status" == exited ]] && return
119119
sleep 2
120120
done
121121
die "VM $id did not stop"

0 commit comments

Comments
 (0)