-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Fix flaky LeafSorterOptimizationTests by improving segment creation r… #19191
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
Conversation
|
❌ Gradle check result for 635fd3f: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 676e265: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for a4a15c2: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 728f806: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 4841617: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
4841617 to
bf7bd77
Compare
|
❌ Gradle check result for bf7bd77: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
@andrross - Could you please help me here?. I am not getting a detection of breaking changes in the local environment. I would like to know what I am missing here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rgsriram I believe the failures here are intermittent failures related to a spotless check:
A problem occurred configuring project ':build-tools'.
> Could not create task ':build-tools:spotlessJava'.
> java.io.IOException: Failed to load eclipse jdt formatter: java.lang.RuntimeException: java.net.SocketTimeoutException: Connect timed out
Go ahead and push a commit to remove the changelog entry to retry the workflows.
The fix has been merged #19199, @rgsriram re-base should fix this error. Thanks |
…eliability Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
bf7bd77 to
a5d59c4
Compare
Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
|
❌ Gradle check result for bbb48d4: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #19191 +/- ##
============================================
- Coverage 72.88% 72.73% -0.15%
+ Complexity 69650 69620 -30
============================================
Files 5658 5658
Lines 320085 320085
Branches 46345 46345
============================================
- Hits 233296 232829 -467
- Misses 67886 68408 +522
+ Partials 18903 18848 -55 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@andrross - Please kindly check. |
Fix flaky LeafSorterOptimizationTests by improving segment creation reliability --------- Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Fix flaky LeafSorterOptimizationTests by improving segment creation reliability --------- Signed-off-by: Sriram Ganesh <srignsh22@gmail.com> Signed-off-by: Ankit Jain <jainankitk@apache.org>
Fix flaky LeafSorterOptimizationTests by improving segment creation reliability --------- Signed-off-by: Sriram Ganesh <srignsh22@gmail.com> Signed-off-by: Ankit Jain <jainankitk@apache.org>
Fix flaky LeafSorterOptimizationTests by improving segment creation reliability --------- Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Fix flaky LeafSorterOptimizationTests by improving segment creation reliability --------- Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Fix flaky LeafSorterOptimizationTests by improving segment creation reliability --------- Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Description
The test
LeafSorterOptimizationTests.testReadOnlyEngineUsesLeafSorterwas flaky in CI due to inconsistent segment creation. We fixed it by indexing more documents, disabling merges, adjusting flush frequency, and making assertions handle both single- and multi-segment cases.Related Issues
Resolves #18898
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.