From f04cd6eda9408cd1368bf548578d4e1d37d750ca Mon Sep 17 00:00:00 2001 From: Adriano Cunha <35786489+adrcunha@users.noreply.github.com> Date: Wed, 10 Oct 2018 12:53:26 -0700 Subject: [PATCH] Don't set timeout in go_test_e2e (#172) Let the caller decide. Also clarify that arguments can be flags for go test (as long as they come first). --- scripts/e2e-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/e2e-tests.sh b/scripts/e2e-tests.sh index f0cc68ad12..8c94189f97 100755 --- a/scripts/e2e-tests.sh +++ b/scripts/e2e-tests.sh @@ -68,11 +68,11 @@ function fail_test() { } # Run the given E2E tests (must be tagged as such). -# Parameters: $1..$n - directories containing the tests to run. +# Parameters: $1..$n - any go test flags, then directories containing the tests to run. function go_test_e2e() { local options="" (( EMIT_METRICS )) && options="-emitmetrics" - report_go_test -v -tags=e2e -count=1 -timeout=20m $@ ${options} + report_go_test -v -tags=e2e -count=1 $@ ${options} } # Download the k8s binaries required by kubetest.