-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[Flaky Test] Fix Flaky SearchServiceTests.testConcurrentSegmentSearchWithRandomizedModeSettings #18301
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #18301 +/- ##
============================================
- Coverage 72.51% 72.43% -0.08%
+ Complexity 67379 67330 -49
============================================
Files 5488 5488
Lines 311062 311062
Branches 45217 45217
============================================
- Hits 225552 225319 -233
- Misses 67132 67367 +235
+ Partials 18378 18376 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
jed326
left a comment
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.
Thanks for raising this @kkewwei, really appreciate it. I left some minor suggestions with a more detailed explanation of how the concurrent search decision works.
server/src/test/java/org/opensearch/search/SearchServiceTests.java
Outdated
Show resolved
Hide resolved
|
@jed326 Test case without aggregation has been added, please review when you are free. |
…dModeSettings Signed-off-by: kkewwei <kewei.11@bytedance.com> Signed-off-by: kkewwei <kkewwei@163.com>
jed326
left a comment
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.
Thanks a ton @kkewwei!
…dModeSettings (#18301) (#18308) (cherry picked from commit 8a847f2) Signed-off-by: kkewwei <kewei.11@bytedance.com> Signed-off-by: kkewwei <kkewwei@163.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…dModeSettings (opensearch-project#18301) Signed-off-by: kkewwei <kewei.11@bytedance.com> Signed-off-by: kkewwei <kkewwei@163.com>
…dModeSettings (opensearch-project#18301) Signed-off-by: kkewwei <kewei.11@bytedance.com> Signed-off-by: kkewwei <kkewwei@163.com>
…dModeSettings (opensearch-project#18301) Signed-off-by: kkewwei <kewei.11@bytedance.com> Signed-off-by: kkewwei <kkewwei@163.com>Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>
…dModeSettings (opensearch-project#18301) Signed-off-by: kkewwei <kewei.11@bytedance.com> Signed-off-by: kkewwei <kkewwei@163.com>
Description
Previously the default value was false, it had nothing to do with aggregation. Now default value is auto in case mode setting is not set, it is also decided by aggregationSupportsConcurrent, We should take aggregationSupportsConcurrent into account.
Related Issues
Resolves #18238
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.