From 7dd36332d792bceec75bb1179e9ce4494b7ead3e Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Mon, 29 Aug 2022 20:44:54 +0200 Subject: [PATCH] e2e: warn about slow tests only when >= 1 minute We have several tests that trigger the default threshold. --- test/test.make | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test.make b/test/test.make index e413297ad..82f67e872 100644 --- a/test/test.make +++ b/test/test.make @@ -186,6 +186,7 @@ RUN_E2E = KUBECONFIG=`pwd`/_work/$(CLUSTER)/kube.config \ -ginkgo.skip='$(subst $(space),|,$(strip $(subst @,$(space),$(TEST_E2E_SKIP_ALL))))' \ -ginkgo.focus='$(subst $(space),|,$(strip $(subst @,$(space),$(TEST_E2E_FOCUS))))' \ -ginkgo.randomizeAllSpecs=false \ + -ginkgo.slow-spec-threshold=1m \ -ginkgo.timeout=$(TEST_E2E_TIMEOUT) \ $(TEST_E2E_ARGS) \ -report-dir=$(TEST_E2E_REPORT_DIR)