From fed0b12436e652feffca4d9107c3f68c49fbc202 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 17 May 2023 17:08:31 -0700 Subject: [PATCH] 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 --- tests/integration/events.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/events.bats b/tests/integration/events.bats index a8fe52baf69..051c81e4e28 100644 --- a/tests/integration/events.bats +++ b/tests/integration/events.bats @@ -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