summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2021-09-21 14:24:23 -0400
committerMatthew Heon <matthew.heon@pm.me>2021-09-22 16:33:22 -0400
commitd45cbbda3445d204588723c03609ff2641a70781 (patch)
tree699a864f9ed224d528590768ed3561791c7a4605 /test/e2e
parent70da2e858bfecf3d3301b5b85ff5d7332911855d (diff)
downloadpodman-d45cbbda3445d204588723c03609ff2641a70781.tar.gz
podman-d45cbbda3445d204588723c03609ff2641a70781.tar.bz2
podman-d45cbbda3445d204588723c03609ff2641a70781.zip
Add a backoff and retries to retrieving exited event
There's a potential race around extremely short-running containers and events with journald. Events may not be written for some time (small, but appreciable) after they are received, and as such we can fail to retrieve it if there is a sufficiently short time between us writing the event and trying to read it. Work around this by just retrying, with a 0.25 second delay between retries, up to 4 times. [NO TESTS NEEDED] because I have no idea how to reproduce this race in CI. Fixes #11633 Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'test/e2e')
0 files changed, 0 insertions, 0 deletions