-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Fix a test failure in CompositeRolesStoreTests #37661
Conversation
Due to missing stubbing for `NativePrivilegeStore#getPrivileges` the test `testNegativeLookupsAreCached` failed when the superuser role name was present in the role names. This commit adds missing stubbing. Closes: elastic#37657
Pinging @elastic/es-security |
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.
LGTM
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+pull-request-2/5221/console
run gradle build tests 1 |
run gradle build tests 2 |
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.
LGTM
Due to missing stubbing for `NativePrivilegeStore#getPrivileges` the test `testNegativeLookupsAreCached` failed when the superuser role name was present in the role names. This commit adds missing stubbing. Closes: elastic#37657
The PR for the fix has been merged. elastic#37661 but the awaits fix annotation was not removed.
The PR for the fix has been merged. #37661 but the awaits fix annotation was not removed.
The PR for the fix has been merged. #37661 but the awaits fix annotation was not removed.
Due to missing stubbing for
NativePrivilegeStore#getPrivileges
the test
testNegativeLookupsAreCached
failedwhen the superuser role name was present in the role names.
This commit adds missing stubbing.
Closes: #37657