tests/int: increase num retries for oom tests

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>
This commit is contained in:
Kir Kolyshkin
2023-05-17 17:08:31 -07:00
parent df57f74f87
commit fed0b12436
+1 -1
View File
@@ -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