Allow more time to bring up the fixtures

This commit is contained in:
Hannes Hörl 2017-11-24 21:05:33 +00:00 committed by Gareth Smith
parent d99f3dcd56
commit e2f4cd5a53
1 changed files with 2 additions and 2 deletions

View File

@ -27,11 +27,11 @@ var _ = Describe("Integration", func() {
Eventually(func() bool { Eventually(func() bool {
return isSomethingListeningOnPort(2379) return isSomethingListeningOnPort(2379)
}, 5*time.Second).Should(BeTrue(), "Expected Etcd to listen on 2379") }, 25*time.Second).Should(BeTrue(), "Expected Etcd to listen on 2379")
Eventually(func() bool { Eventually(func() bool {
return isSomethingListeningOnPort(8080) return isSomethingListeningOnPort(8080)
}, 5*time.Second).Should(BeTrue(), "Expected APIServer to listen on 8080") }, 25*time.Second).Should(BeTrue(), "Expected APIServer to listen on 8080")
err = fixtures.Stop() err = fixtures.Stop()
Expect(err).NotTo(HaveOccurred(), "Expected fixtures to stop successfully") Expect(err).NotTo(HaveOccurred(), "Expected fixtures to stop successfully")