-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Fix Flaky tests #24684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Fix Flaky tests #24684
Conversation
🔍 CI failure analysis for 987f4e2: Different CI failures across retry attempts: Run 1 had ETag/GlossaryTerm bugs, Run 2 has FeedResource pagination issue.IssueThe Run 1 (Job 57210140871) - 3 failures:
Run 2 (Job 57235837346) - 1 failure:
Root CauseChanging Failure Pattern Indicates Test Environment IssuesThe fact that different tests fail on retry strongly suggests environmental/timing issues rather than deterministic code bugs: Run 2 Failure: A pagination test expected 4 feed threads but only found 3. This is likely a race condition where background thread creation or event processing hasn't completed before the assertion runs. Previous Failures (Run 1):
These did NOT reproduce in Run 2, further confirming environmental factors. DetailsNone of these failures are related to this PR's changes: The PR only modifies:
No changes to:
Test Instability Pattern:
Suggested Fix
|
|



Describe your changes:
Fixes
I worked on ... because ...
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
Thread.sleep(5000)with polling intest_testSuiteReindexConsistencyTestUtils.waitForReindexCompletion()polls SearchIndexingApplication status with 60s timeoutTestSuiteResourceTest.listEntitiesFromSearchWithRetry()handles transient ES errors during reindexThis will update automatically on new commits.