diff --git a/integration/helpers/servicebrokerstub/app_deploy.go b/integration/helpers/servicebrokerstub/app_deploy.go index aee939be88a..7ab1db443a2 100644 --- a/integration/helpers/servicebrokerstub/app_deploy.go +++ b/integration/helpers/servicebrokerstub/app_deploy.go @@ -28,7 +28,9 @@ var mutex sync.Mutex func ensureAppIsDeployed() { if !appResponds() { ensureAppIsPushed() - Eventually(appResponds()).Should(BeTrue()) + Eventually(func() bool { + return appResponds() + }).WithTimeout(20 * time.Second).Should(BeTrue()) } }