mirror of
https://github.com/containers/podman.git
synced 2025-10-16 18:53:19 +08:00
Merge pull request #27087 from Luap99/system-test-fix
test/system: fix test race in exec leak check
This commit is contained in:
@ -64,7 +64,7 @@ load helpers
|
|||||||
is "$(find_exec_pid_files)" "" "there isn't any exec pid hash file leak"
|
is "$(find_exec_pid_files)" "" "there isn't any exec pid hash file leak"
|
||||||
|
|
||||||
# Ensure file is there while container is running
|
# Ensure file is there while container is running
|
||||||
run_podman exec -d $cid sleep 5
|
run_podman exec -d $cid sleep 100
|
||||||
is "$(find_exec_pid_files)" '.*containers.*exec_pid' "exec_pid file found"
|
is "$(find_exec_pid_files)" '.*containers.*exec_pid' "exec_pid file found"
|
||||||
|
|
||||||
run_podman rm -t 0 -f $cid
|
run_podman rm -t 0 -f $cid
|
||||||
|
Reference in New Issue
Block a user