Skip to content

Commit

Permalink
Increase gingko timeout to 60s
Browse files Browse the repository at this point in the history
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
  • Loading branch information
Paulo Gomes committed Feb 8, 2022
1 parent d8da814 commit cd6d33c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var exampleCA []byte
var ctx context.Context
var cancel context.CancelFunc

const timeout = time.Second * 30
const timeout = time.Second * 60

func TestAPIs(t *testing.T) {
RegisterFailHandler(Fail)
Expand Down Expand Up @@ -161,7 +161,7 @@ var _ = BeforeSuite(func() {
Expect(k8sClient).ToNot(BeNil())

Eventually(done, timeout).Should(BeClosed())
}, 60)
}, timeout.Seconds())

var _ = AfterSuite(func() {
cancel()
Expand Down

0 comments on commit cd6d33c

Please sign in to comment.