From a09152ab28b55ee30439ff88337781434d38dffa Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Mon, 27 May 2024 15:54:56 +0200 Subject: [PATCH] test/system: remove podman wait test It takes over 10 seconds for this test as it uses --wait 5 twice which runs into the timeout. IMO this tests is just redundant as it is already covered in the e2e tests much better. Thus remove it here. Signed-off-by: Paul Holzinger --- test/system/075-exec.bats | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/test/system/075-exec.bats b/test/system/075-exec.bats index 53f0c20b55..0c0f7cab8f 100644 --- a/test/system/075-exec.bats +++ b/test/system/075-exec.bats @@ -136,20 +136,6 @@ load helpers run_podman rm -t 0 -f $cid } -@test "podman exec --wait" { - skip_if_remote "test is meaningless over remote" - - # wait on bogus container - run_podman 125 exec --wait 5 "bogus_container" echo hello - assert "$output" = "Error: timed out waiting for container: bogus_container" - - run_podman create --name "wait_container" $IMAGE top - run_podman 255 exec --wait 5 "wait_container" echo hello - assert "$output" = "Error: can only create exec sessions on running containers: container state improper" - - run_podman rm -f wait_container -} - @test "podman run umask" { umask="0724" run_podman run --rm -q $IMAGE grep Umask /proc/self/status