Skip to content

Conversation

@anujc25
Copy link
Contributor

@anujc25 anujc25 commented Dec 1, 2025

Description of the Change

Fix intermittent integration test failures around servicebroker

  • 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.

Why Is This PR Valuable?

Improves integration test reliability

Applicable Issues

None

How Urgent Is The Change?

Not urgent

Copy link
Contributor

@prkalle prkalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Will wait for the integration tests to pass.

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.
@anujc25 anujc25 force-pushed the it-test-improvements branch from fbc71c0 to bb34212 Compare December 9, 2025 18:44
Copy link
Member

@gururajsh gururajsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gururajsh gururajsh merged commit 83f6521 into cloudfoundry:v8 Dec 9, 2025
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants