Skip to content

fix: increase Awaitility wait margin in TestControllerIT to reduce CI flakiness - #2329

Merged
lbroudoux merged 1 commit into
masterfrom
fix/soapui-test-timeout-flake
Oct 2, 2026
Merged

lbroudoux merged 1 commit into
masterfrom
fix/soapui-test-timeout-flake

Conversation

@yada

@yada yada commented Sep 24, 2026

Copy link
Copy Markdown
Member

Fixes #2328

testSoapUITesting (and 4 similar tests in TestControllerIT) request a
mock test run with its own timeout (2-3s), then poll for completion via
waitForTestCompletion with only 1s more budget than that. On a loaded CI
runner that margin isn't always enough, causing an intermittent
ConditionTimeoutException (see #2328 for a real failure).

This widens the wait budget at each call site to ~4s of margin above the
requested test timeout.


Disclosure: this PR was drafted with AI assistance (Claude Code); I
reviewed and understand the change before submitting.

Generated with Claude Code

… flakiness

testSoapUITesting and similar tests left only ~1s of margin between the
mock test's requested timeout and the Awaitility poll budget in
waitForTestCompletion, causing intermittent ConditionTimeoutException
under CI load. Widen the margin to ~4s.

Signed-off-by: Yacine Kheddache <[email protected]>
@yada yada added the github_actions Pull requests that update GitHub Actions code label Sep 24, 2026
@sonarqubecloud

Copy link
Copy Markdown

@lbroudoux lbroudoux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Let's try it out!

@lbroudoux lbroudoux added this to the 1.16.0 milestone Oct 2, 2026
@lbroudoux
lbroudoux merged commit 7d98fe4 into master Oct 2, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/build github_actions Pull requests that update GitHub Actions code kind/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky integration test: TestControllerIT.testSoapUITesting ConditionTimeoutException

3 participants