From c335ff241aa5b94c2a87d548cb8c1c62e0ac816d Mon Sep 17 00:00:00 2001 From: Urvashi Mohnani <umohnani@redhat.com> Date: Tue, 28 Mar 2023 09:47:25 -0500 Subject: [PATCH] Add debug to --wait test Add a debug line to the wait to test to see which container is being left behind after the cleaup where the race is happening. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com> --- test/system/700-play.bats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/system/700-play.bats b/test/system/700-play.bats index 7bd4333362..e1f9961953 100644 --- a/test/system/700-play.bats +++ b/test/system/700-play.bats @@ -625,8 +625,10 @@ spec: run_podman kube play --wait $fname + # debug to see what container is being left behind after the cleanup # there should be no containers running or created - run_podman ps -aq + run_podman ps -a --noheading is "$output" "" "There should be no containers" + run_podman pod ps run_podman rmi $(pause_image) }