Skip to content

Commit

Permalink
Add lots more parallel-high-load FIXMEs
Browse files Browse the repository at this point in the history
Signed-off-by: Ed Santiago <[email protected]>
  • Loading branch information
edsantiago committed Nov 13, 2024
1 parent 535ceae commit 740f69c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/system/030-run.bats
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,7 @@ json-file | f
# exactly 10 seconds. Give it some leeway.
delta_t=$(( $t1 - $t0 ))
assert "$delta_t" -gt 1 "podman stop: ran too quickly!"
# FIXME: can fail under load, take 7 seconds
assert "$delta_t" -le 6 "podman stop: took too long"

run_podman rm $cname
Expand Down
1 change: 1 addition & 0 deletions test/system/080-pause.bats
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ load helpers

# There should be a 3-4 second gap, *maybe* 5. Never 1 or 2, that
# would imply that the container never paused.
# FIXME: under high load, can be 7
is "$max_delta" "[3456]" "delta t between paused and restarted"

run_podman rm -t 0 -f $cname
Expand Down
1 change: 1 addition & 0 deletions test/system/250-systemd.bats
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ LISTEN_FDNAMES=listen_fdnames" | sort)
run_podman exec $cname touch /uh-oh

# healthcheck should now fail, with exit status 1 and 'unhealthy' output
# FIXME: race: on high load, we can get "Error: no container with ID xxxx"
run_podman 1 healthcheck run $cname
is "$output" "unhealthy" "output from 'podman healthcheck run'"

Expand Down
1 change: 1 addition & 0 deletions test/system/700-play.bats
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ spec:
if [[ -n "$PARALLEL_JOBSLOT" ]]; then
expect=$((expect + 4))
fi
# FIXME: under high load, delta_t can be 12
assert $delta_t -le $expect \
"podman kube play did not get killed within $expect seconds"
# Make sure we actually got SIGTERM and podman printed its message.
Expand Down

0 comments on commit 740f69c

Please sign in to comment.