Skip to content

Commit

Permalink
Increase delay in e2e to test agent updates
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
adidenko committed Dec 22, 2017
1 parent c103963 commit aff1bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aff1bcf

Please sign in to comment.