From 589b428e097ee0ba5c6ef285265cd855d1a26b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pereira?= Date: Tue, 20 Aug 2024 10:47:29 -0500 Subject: [PATCH] Increase the timeout for broker to be enabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Pereira --- integration/helpers/servicebrokerstub/app_deploy.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()) } }