summaryrefslogtreecommitdiff
path: root/test/system/035-logs.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-04-22 06:30:49 -0400
committerGitHub <noreply@github.com>2022-04-22 06:30:49 -0400
commit82393e256593b9c78e64d2fecf47813b6c6f1b2c (patch)
tree01b9b47e9d7f55d9f7adb06ae12732a420f3682e /test/system/035-logs.bats
parent26a51b29009e6250f2b52fc7c13fb1b65208754e (diff)
parent97ee4114655a9442a34130632c47eea5861ca73b (diff)
downloadpodman-82393e256593b9c78e64d2fecf47813b6c6f1b2c.tar.gz
podman-82393e256593b9c78e64d2fecf47813b6c6f1b2c.tar.bz2
podman-82393e256593b9c78e64d2fecf47813b6c6f1b2c.zip
Merge pull request #13935 from edsantiago/bats_assert
system tests: add assert(), and start using it
Diffstat (limited to 'test/system/035-logs.bats')
-rw-r--r--test/system/035-logs.bats5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/system/035-logs.bats b/test/system/035-logs.bats
index e38cdb383..97d984ef1 100644
--- a/test/system/035-logs.bats
+++ b/test/system/035-logs.bats
@@ -224,9 +224,8 @@ $s_after"
retries=$((retries - 1))
sleep 0.1
done
- if [[ $retries -eq 0 ]]; then
- die "Timed out waiting for before&after in podman logs: $output"
- fi
+ assert $retries -gt 0 \
+ "Timed out waiting for before&after in podman logs: $output"
run_podman logs --until $before test
is "$output" "" "podman logs --until before"