Merge pull request #19704 from rhatdan/timeout

Set StopTimeout for compat API if not set by client
This commit is contained in:
OpenShift Merge Robot
2023-08-25 05:28:26 -04:00
committed by GitHub
4 changed files with 11 additions and 1 deletions

View File

@@ -206,6 +206,9 @@ EOF
run_podman container inspect $service_container --format "{{.State.Running}}"
is "$output" "true"
run_podman container inspect $service_container --format '{{.Config.StopTimeout}}'
is "$output" "10" "StopTimeout should be initialized to 10"
# Stop the *main* container and make sure that
# 1) The pod transitions to Exited
# 2) The service container is stopped