summaryrefslogtreecommitdiff
path: root/commands.md
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2020-07-14 14:33:22 -0600
committerEd Santiago <santiago@redhat.com>2020-07-14 16:09:58 -0600
commitd3f9f09892d725774a19d373fc913e8722b674b7 (patch)
tree5bd40c2e7b2262e4a2b035083c57d1c918339540 /commands.md
parent50cd21e1811f4fe508a74dc316c81a047de4e8d9 (diff)
downloadpodman-d3f9f09892d725774a19d373fc913e8722b674b7.tar.gz
podman-d3f9f09892d725774a19d373fc913e8722b674b7.tar.bz2
podman-d3f9f09892d725774a19d373fc913e8722b674b7.zip
APIv2 tests: fix race condition causing CI flake
A newly-added test in #6835 was flaking in CI with: not ok 143 [20-containers] DELETE libpod/containers/SHA 500 cannot remove container <sha> as it is running - running or paused containers cannot be removed without force: container state improper Root cause: DELETE being run immediately after container start. Although the container is short-lived, it does take time to run and exit. Solution: wait for container to exit (should be quick) before deleting. This gives us a new test for the /wait endpoint. Also: tweaked some comments for readability, removed unnecessary container ps, added actual container status checks, and added actual message checks to another test that was merely checking exit status. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'commands.md')
0 files changed, 0 insertions, 0 deletions