Increase gingko timeout to 60s
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
This commit is contained in:
parent
d8da814d2e
commit
cd6d33c101
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue