summaryrefslogtreecommitdiff
path: root/test/apiv2/test-apiv2
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2020-02-24 09:47:13 -0700
committerEd Santiago <santiago@redhat.com>2020-02-25 06:42:27 -0700
commitf25c595cb8af5d6fe491d6974f206d6a5db552cb (patch)
tree874616fc318e5f6a5820d287d17fe4c12ec0a823 /test/apiv2/test-apiv2
parentafd5cbff1e147bdad200b47fb2bd0992684c7fd4 (diff)
downloadpodman-f25c595cb8af5d6fe491d6974f206d6a5db552cb.tar.gz
podman-f25c595cb8af5d6fe491d6974f206d6a5db552cb.tar.bz2
podman-f25c595cb8af5d6fe491d6974f206d6a5db552cb.zip
apiv2 tests: add more pod tests, timing check
Looks like /libpod/pods/create has been fixed to return an actual pod ID. Extend those tests. Also, update timeout in the server command: it's now seconds, not milliseconds. Also, update FIXME comments in /pods/prune . Still doesn't work, but clarify what we're seeing. Also, add a new test that runs ten /info requests and barfs if it takes more than 5 seconds. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/apiv2/test-apiv2')
-rwxr-xr-xtest/apiv2/test-apiv22
1 files changed, 1 insertions, 1 deletions
diff --git a/test/apiv2/test-apiv2 b/test/apiv2/test-apiv2
index fffd7b085..bc2ed142c 100755
--- a/test/apiv2/test-apiv2
+++ b/test/apiv2/test-apiv2
@@ -253,7 +253,7 @@ function start_service() {
die "Cannot start service on non-localhost ($HOST)"
fi
- $PODMAN_BIN --root $WORKDIR system service --timeout 15000 tcp:127.0.0.1:$PORT \
+ $PODMAN_BIN --root $WORKDIR system service --timeout 15 tcp:127.0.0.1:$PORT \
&> $WORKDIR/server.log &
service_pid=$!