Skip to content

Commit

Permalink
ci: fix flaky test "update memory vs CheckBeforeUpdate"
Browse files Browse the repository at this point in the history
This test fails in CI sometimes with the following error:

> `testcontainer test_update stopped' failed

Give OOM killer some time to do its job.

Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin committed Aug 3, 2023
1 parent 5c6b334 commit f88a765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/update.bats
Original file line number Diff line number Diff line change
Expand Up @@ -854,5 +854,5 @@ EOF
# The container will be OOM killed, and runc might either succeed
# or fail depending on the timing, so we don't check its exit code.
runc update test_update --memory 1024
testcontainer test_update stopped
wait_for_container 10 1 test_update stopped
}

0 comments on commit f88a765

Please sign in to comment.