summaryrefslogtreecommitdiffhomepage
path: root/kokoro
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2019-05-13 00:49:32 -0700
committerShentubot <shentubot@google.com>2019-05-13 00:50:44 -0700
commit9f2b12c624a4a07c6662d1a5f1bced28b6eb86da (patch)
tree2502e216d1a5f9712f9d4b79c649d8f59d73d112 /kokoro
parentc61a2e709a810233c310e409c07b0ed696f4e858 (diff)
gvisor/runsc/tests: set timeout for http.Get()
WaitForHTTP tries GET requests on a port until the call succeeds or timeout. But we want to be sure that one of our attempts will not stuck for the whole timeout. All timeouts are increased to 30 seconds, because test cases with smaller timeouts fail sometimes even for the native container runtime (runc). PiperOrigin-RevId: 247888467 Change-Id: I03cfd3275286bc686a78fd26da43231d20667851
Diffstat (limited to 'kokoro')
-rwxr-xr-xkokoro/run_tests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/kokoro/run_tests.sh b/kokoro/run_tests.sh
index fbe353a1e..aa88b5cbf 100755
--- a/kokoro/run_tests.sh
+++ b/kokoro/run_tests.sh
@@ -150,6 +150,7 @@ run_docker_tests() {
bazel test \
"${BAZEL_BUILD_FLAGS[@]}" \
--test_env=RUNSC_RUNTIME="${RUNTIME}${v}" \
+ --test_output=all \
//runsc/test/image:image_test \
//runsc/test/integration:integration_test
done