From 7d9350e3dd94cdec641c8313bbbd64f0e0f7dedc Mon Sep 17 00:00:00 2001 From: Sargun Dhillon Date: Wed, 8 May 2019 17:24:56 -0700 Subject: [PATCH] Add timeout to e2e tests This adds a 5 minute timeout to the end-to-end tests. The end-to-end tests typically run in under 2 minutes. On Circle-CI the timeout is 10 minutes, at which point, Circle CI just shoots the tests in the head so we don't get any logs. --- Makefile.e2e | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.e2e b/Makefile.e2e index 7b2539b88..0ce08827a 100644 --- a/Makefile.e2e +++ b/Makefile.e2e @@ -39,7 +39,7 @@ e2e: TAINT_EFFECT := NoSchedule e2e: export VK_BUILD_TAGS += mock_provider e2e: e2e.clean bin/e2e/virtual-kubelet skaffold/run @echo Running tests... - cd $(PWD)/test/e2e && go test -v -tags e2e ./... \ + cd $(PWD)/test/e2e && go test -v -timeout 5m -tags e2e ./... \ -kubeconfig=$(KUBECONFIG) \ -namespace=$(NAMESPACE) \ -node-name=$(NODE_NAME) \