mirror of
https://github.com/containers/podman.git
synced 2025-12-01 18:49:18 +08:00
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:
@@ -431,7 +431,7 @@ EOF
|
|||||||
# design yet for propagating exit codes up to the service
|
# design yet for propagating exit codes up to the service
|
||||||
# container.
|
# container.
|
||||||
run_podman pod kill test_pod
|
run_podman pod kill test_pod
|
||||||
for i in {0..5}; do
|
for i in {0..20}; do
|
||||||
run systemctl is-active $service_name
|
run systemctl is-active $service_name
|
||||||
if [[ $output == "inactive" ]]; then
|
if [[ $output == "inactive" ]]; then
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user