From aff1bcf34cb7f818633327c8113082215161b3c7 Mon Sep 17 00:00:00 2001 From: Alex Didenko Date: Fri, 22 Dec 2017 13:49:25 +0100 Subject: [PATCH] Increase delay in e2e to test agent updates With 15 sec delay we're testing that server is able to add agents to K8s Custom Resources. But we're not checking that server is able to update them and make sure agents are up to date. Increasing delay to 45 seconds will make sure server/agent had enough time to detect outdated state. --- test/e2e/basic_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/basic_test.go b/test/e2e/basic_test.go index 6d54611..2a609f9 100644 --- a/test/e2e/basic_test.go +++ b/test/e2e/basic_test.go @@ -117,7 +117,7 @@ var _ = ginkgo.Describe("Basic", func() { gomega.Expect(err).NotTo(gomega.HaveOccurred()) // ensure agents are up and they have sent their reports to the server - time.Sleep(15 * time.Second) + time.Sleep(45 * time.Second) services := getServices(clientset, ns) ncService := false