Skip to content
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

[Backport 2.x] Switch UserInjectorPlugin to use reliable per-instance settings (#3760) #3761

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

cwperks
Copy link
Member

@cwperks cwperks commented Nov 22, 2023

Backport of #3760 to 2.x

…search-project#3760)

Fix flaky tests in TransportUserInjectorIntegTest by removing reliance
on a static variable that makes the test unpredictable. This instead
adds a setting in the UserInjectorPlugin and relies on each node that
has the plugin installed to supply this setting when instantiating the
node.

* Category (Enhancement, New feature, Bug fix, Test fix, Refactoring,
Maintenance, Documentation)

Test Fix

- Fixes opensearch-project#3729

- [ ] New functionality includes testing
- [ ] New functionality has been documented
- [ ] Commits are signed per the DCO using --signoff

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](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).

Signed-off-by: Craig Perkins <[email protected]>
(cherry picked from commit e9d3f26)
Copy link

codecov bot commented Nov 22, 2023

Codecov Report

Merging #3761 (adebc61) into 2.x (987c2a2) will not change coverage.
Report is 2 commits behind head on 2.x.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##                2.x    #3761   +/-   ##
=========================================
  Coverage     64.90%   64.90%           
- Complexity     3634     3635    +1     
=========================================
  Files           285      285           
  Lines         20525    20525           
  Branches       3384     3384           
=========================================
  Hits          13321    13321           
+ Misses         5527     5526    -1     
- Partials       1677     1678    +1     

see 2 files with indirect coverage changes

@cwperks cwperks merged commit 71ffbdc into opensearch-project:2.x Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants