Skip to content

fix: de-flake LatestDistinctIT.java#3441

Merged
csviri merged 2 commits into
operator-framework:mainfrom
csviri:flaky-LatestDistinctIT
Jun 25, 2026
Merged

fix: de-flake LatestDistinctIT.java#3441
csviri merged 2 commits into
operator-framework:mainfrom
csviri:flaky-LatestDistinctIT

Conversation

@csviri

@csviri csviri commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Signed-off-by: Attila Mészáros a_meszaros@apple.com

Copilot AI review requested due to automatic review settings June 24, 2026 07:28
@openshift-ci openshift-ci Bot requested review from metacosm and xstefank June 24, 2026 07:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR de-flakes the LatestDistinctIT integration test by relaxing brittle assertions about reconciliation counts when two informer event sources are involved, while adding an explicit stabilization window to guard against unintended reconcile loops.

Changes:

  • Replaces an exact reconciliation-count assertion with a lower-bound assertion to tolerate benign informer/event-coalescing races.
  • Adds a short “stabilization” Awaitility check to ensure the reconciliation count stops growing (detecting runaway loops).

csviri and others added 2 commits June 24, 2026 09:57
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
@csviri csviri force-pushed the flaky-LatestDistinctIT branch from d1bdf60 to 0347ea7 Compare June 24, 2026 07:57
@csviri csviri merged commit c9c360c into operator-framework:main Jun 25, 2026
27 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