From 41feef4391c1ea9707fa1b04d2057948521cb8b6 Mon Sep 17 00:00:00 2001 From: Anand Kumar Singh Date: Wed, 27 Jul 2022 19:42:22 +0530 Subject: [PATCH] increase timeout by 60sec devEnv check (#5978) Signed-off-by: anandrkskd Co-authored-by: Armel Soro --- Makefile | 2 +- tests/e2escenarios/{e2e-test.go => e2e_test.go} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename tests/e2escenarios/{e2e-test.go => e2e_test.go} (99%) diff --git a/Makefile b/Makefile index d9427e81ea3..569ecada9d9 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ export ODO_LOG_LEVEL ?= 4 # To enable verbosity export or set env GINKGO_TEST_ARGS like "GINKGO_TEST_ARGS=-v" UNIT_TEST_ARGS ?= -GINKGO_FLAGS_ALL = $(GINKGO_TEST_ARGS) --randomize-all --slow-spec-threshold=$(SLOW_SPEC_THRESHOLD) -timeout $(TIMEOUT) +GINKGO_FLAGS_ALL = $(GINKGO_TEST_ARGS) --randomize-all --slow-spec-threshold=$(SLOW_SPEC_THRESHOLD) -timeout $(TIMEOUT) --no-color # Flags for tests that must not be run in parallel. GINKGO_FLAGS_SERIAL = $(GINKGO_FLAGS_ALL) -nodes=1 diff --git a/tests/e2escenarios/e2e-test.go b/tests/e2escenarios/e2e_test.go similarity index 99% rename from tests/e2escenarios/e2e-test.go rename to tests/e2escenarios/e2e_test.go index 483ad0a4211..5a4a565dac4 100644 --- a/tests/e2escenarios/e2e-test.go +++ b/tests/e2escenarios/e2e_test.go @@ -33,7 +33,7 @@ var _ = Describe("E2E Test", func() { body, _ := io.ReadAll(resp.Body) return string(body) - }, 60*time.Second, 10*time.Second).Should(Equal(assertString)) + }, 120*time.Second, 15*time.Second).Should(Equal(assertString)) } Context("starting with empty Directory", func() {