mirror of
https://github.com/containers/podman.git
synced 2025-07-01 00:01:02 +08:00
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 <pholzing@redhat.com>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user