From bb342128f01213266ecdfe256122d0c1243a756e Mon Sep 17 00:00:00 2001 From: Anuj Chaudhari Date: Sun, 30 Nov 2025 18:10:37 -0800 Subject: [PATCH] Fix improper Eventually usage in servicebrokerstub The ensureAppIsDeployed helper was calling appResponds() immediately and passing the result (a boolean) to Eventually. This prevented Gomega from polling the function, causing failures if the app wasn't ready instantly. This change passes the function reference appResponds to Eventually so it can be polled correctly, and adds a 1-minute timeout to allow for slower environments. --- integration/helpers/servicebrokerstub/app_deploy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/helpers/servicebrokerstub/app_deploy.go b/integration/helpers/servicebrokerstub/app_deploy.go index 0216fc38171..793fce2077f 100644 --- a/integration/helpers/servicebrokerstub/app_deploy.go +++ b/integration/helpers/servicebrokerstub/app_deploy.go @@ -37,7 +37,7 @@ func initialize() { func ensureAppIsDeployed() { if !appResponds() { ensureAppIsPushed() - Eventually(appResponds()).Should(BeTrue()) + Eventually(appResponds, time.Minute).Should(BeTrue()) } }