Skip to content

Commit

Permalink
tests/int: increase num retries for oom tests
Browse files Browse the repository at this point in the history
This test is occasionally failing on CS9.

The test case always takes about 7 seconds on my laptop (decreasing
memory, using a different memory eater in shell etc. doesn't help).

Increase the number of iterations from 10 to 30 to make sure we don't
see any flakes.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin committed May 18, 2023
1 parent ba58ee9 commit ac1a240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/events.bats
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function test_events() {
retry 10 1 grep -q test_busybox events.log
# shellcheck disable=SC2016
__runc exec -d test_busybox sh -c 'test=$(dd if=/dev/urandom ibs=5120k)'
retry 10 1 grep -q oom events.log
retry 30 1 grep -q oom events.log
__runc delete -f test_busybox
) &
wait # wait for the above sub shells to finish
Expand Down

0 comments on commit ac1a240

Please sign in to comment.