Increase gingko timeout to 60s

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
This commit is contained in:
Paulo Gomes 2022-02-08 17:49:51 +00:00
parent d8da814d2e
commit cd6d33c101
No known key found for this signature in database
GPG Key ID: 9995233870E99BEE
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ var exampleCA []byte
var ctx context.Context var ctx context.Context
var cancel context.CancelFunc var cancel context.CancelFunc
const timeout = time.Second * 30 const timeout = time.Second * 60
func TestAPIs(t *testing.T) { func TestAPIs(t *testing.T) {
RegisterFailHandler(Fail) RegisterFailHandler(Fail)
@ -161,7 +161,7 @@ var _ = BeforeSuite(func() {
Expect(k8sClient).ToNot(BeNil()) Expect(k8sClient).ToNot(BeNil())
Eventually(done, timeout).Should(BeClosed()) Eventually(done, timeout).Should(BeClosed())
}, 60) }, timeout.Seconds())
var _ = AfterSuite(func() { var _ = AfterSuite(func() {
cancel() cancel()