fix flake in kube system test

Increase the loop range from 5 to 20 to make sure we give the service
enough time to transition to inactive.  Other tests have the same range
with 0.5 seconds sleeps, so I expect the new value to be sufficient and
consistent.

Fixes: #17093
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
Valentin Rothberg 2023-01-13 15:38:50 +01:00
parent e473c93e94
commit 4bb69abd5f
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ EOF
# design yet for propagating exit codes up to the service
# container.
run_podman pod kill test_pod
for i in {0..5}; do
for i in {0..20}; do
run systemctl is-active $service_name
if [[ $output == "inactive" ]]; then
break