Stabilize resource test client load - #6467
Conversation
Signed-off-by: Cédric Pelvet <cedric.pelvet@gmail.com>
Signed-off-by: Cédric Pelvet <cedric.pelvet@gmail.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6467 +/- ##
=======================================
Coverage 75.75% 75.75%
=======================================
Files 457 457
Lines 30508 30556 +48
Branches 4615 4630 +15
=======================================
+ Hits 23111 23149 +38
- Misses 5276 5280 +4
- Partials 2121 2127 +6 🚀 New features to boost your workflow:
|
Description
This test fix makes the Reactor Netty client used by resource-focused tests honor its configuration and bound its resource usage.
Issues Resolved
Fixes #6465
This is not a backport.
No new permissions are introduced.
Testing
./gradlew :integrationTest --tests org.opensearch.test.framework.cluster.ReactorHttpClientTests -x :opensearch-sample-resource-plugin:integrationTest./gradlew :integrationTest --tests org.opensearch.security.ResourceFocusedTests -x :opensearch-sample-resource-plugin:integrationTest./gradlew spotlessJavaCheck./gradlew :precommit -x :opensearch-sample-resource-plugin:precommitThe full aggregate precommit task was also attempted. It reaches pre-existing forbidden-API violations for
URL.openStream()in the unchanged sample resource plugin; the root precommit suite above passes.Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.