-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Flaky Test] Set refresh interval to -1 to only have 1 segment #14201
Conversation
Signed-off-by: bowenlan-amzn <[email protected]>
❌ Gradle check result for bfe5a93: 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? |
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14201 +/- ##
============================================
+ Coverage 71.42% 71.59% +0.17%
- Complexity 59978 61872 +1894
============================================
Files 4985 5117 +132
Lines 282275 291173 +8898
Branches 40946 42067 +1121
============================================
+ Hits 201603 208456 +6853
- Misses 63999 65513 +1514
- Partials 16673 17204 +531 ☔ View full report in Codecov by Sentry. |
Signed-off-by: bowenlan-amzn <[email protected]> (cherry picked from commit c381b34) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit c381b34) Signed-off-by: bowenlan-amzn <[email protected]> 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>
Signed-off-by: bowenlan-amzn <[email protected]>
…ject#14212) (cherry picked from commit c381b34) Signed-off-by: bowenlan-amzn <[email protected]> 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> Signed-off-by: kkewwei <[email protected]>
Signed-off-by: bowenlan-amzn <[email protected]>
Description
Failed 3 times in gradle check after merging in the change on 5/2 Metric Dashboard Link
Example Failure
https://build.ci.opensearch.org/job/gradle-check/39719/testReport/junit/org.opensearch.test.rest/ClientYamlTestSuiteIT/test__p0_search_aggregation_230_composite_composite_aggregation_date_histogram_profile_shows_filter_rewrite_info__2/
We can see the flaky is because sometime there are 2 segments instead of 1 though we are bulk indexing just 4 documents. After discussing with @mch2 , this could because the background refresh race in. So we are setting refresh_interval to -1 now to eliminate that.
Related Issues
Resolves #13971
Check List
[ ] API changes companion pull request created, if applicable.[ ] Public documentation issue/PR created, if applicable.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.