summaryrefslogtreecommitdiff
path: root/test/apiv2/01-basic.at
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-13 09:33:57 -0400
committerGitHub <noreply@github.com>2020-10-13 09:33:57 -0400
commit7ad631b819d991559ba20e4728a6803a2546158f (patch)
treec953e7f8a9b746fbb1484d69e6d908494e081f9c /test/apiv2/01-basic.at
parentd161f4225a120e113ffbc7fafb216dc7f14357d3 (diff)
parent2a6a3f333bd5c5968e34596c1c6ed93181a5da10 (diff)
downloadpodman-7ad631b819d991559ba20e4728a6803a2546158f.tar.gz
podman-7ad631b819d991559ba20e4728a6803a2546158f.tar.bz2
podman-7ad631b819d991559ba20e4728a6803a2546158f.zip
Merge pull request #8000 from edsantiago/fix_apiv2_tests_again
APIv2 tests: try again to fix them
Diffstat (limited to 'test/apiv2/01-basic.at')
-rw-r--r--test/apiv2/01-basic.at9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/apiv2/01-basic.at b/test/apiv2/01-basic.at
index 541d8cbf1..9d4b04edb 100644
--- a/test/apiv2/01-basic.at
+++ b/test/apiv2/01-basic.at
@@ -68,10 +68,13 @@ for i in $(seq 1 10); do
done
t1=$SECONDS
delta_t=$((t1 - t2))
-if [ $delta_t -le 5 ]; then
- _show_ok 1 "Time for ten /info requests ($delta_t seconds) <= 5s"
+
+# Desired number of seconds in which we expect to run.
+want=7
+if [ $delta_t -le $want ]; then
+ _show_ok 1 "Time for ten /info requests ($delta_t seconds) <= ${want}s"
else
- _show_ok 0 "Time for ten /info requests" "<= 5 seconds" "$delta_t seconds"
+ _show_ok 0 "Time for ten /info requests" "<= $want seconds" "$delta_t seconds"
fi
# Simple events test (see #7078)