Fix flaky testPutGlobalV2TemplateWhichProvidesContextWithContextDisabled#20640
Fix flaky testPutGlobalV2TemplateWhichProvidesContextWithContextDisabled#20640andrross merged 1 commit intoopensearch-project:mainfrom
Conversation
Somehow the feature flag was getting enabled while this test expects it to be disabled. This change ensures the flag will be disabled for this test case. Signed-off-by: Andrew Ross <andrross@amazon.com>
|
No actionable comments were generated in the recent review. 🎉 📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code graph analysis (1)server/src/test/java/org/opensearch/cluster/metadata/MetadataIndexTemplateServiceTests.java (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (20)
🔇 Additional comments (2)
📝 WalkthroughWalkthroughThe PR adds a feature flag guard around a test in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested labels
🚥 Pre-merge checks | ✅ 4 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Comment |
|
❌ Gradle check result for de0867a: 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 Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #20640 +/- ##
============================================
+ Coverage 73.19% 73.32% +0.12%
- Complexity 71924 72055 +131
============================================
Files 5781 5781
Lines 329292 329393 +101
Branches 47514 47525 +11
============================================
+ Hits 241026 241516 +490
+ Misses 68925 68532 -393
- Partials 19341 19345 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…led (opensearch-project#20640) Somehow the feature flag was getting enabled while this test expects it to be disabled. This change ensures the flag will be disabled for this test case. Signed-off-by: Andrew Ross <andrross@amazon.com> Update streaming flag to use search request context Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> Changelog Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
…led (opensearch-project#20640) Somehow the feature flag was getting enabled while this test expects it to be disabled. This change ensures the flag will be disabled for this test case. Signed-off-by: Andrew Ross <andrross@amazon.com>
Somehow the feature flag was getting enabled while this test expects it to be disabled. This change ensures the flag will be disabled for this test case.
Related Issues
Resolves #19058
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.