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

Fix a test failure in CompositeRolesStoreTests #37661

Merged
merged 1 commit into from
Jan 21, 2019

Conversation

bizybot
Copy link
Contributor

@bizybot bizybot commented Jan 21, 2019

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: #37657

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
@bizybot bizybot added >test-failure Triaged test failures from CI v7.0.0 :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC v6.7.0 labels Jan 21, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security

Copy link
Contributor

@albertzaharovits albertzaharovits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@albertzaharovits
Copy link
Contributor

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+pull-request-2/5221/console

17:12:14 > Task :x-pack:plugin:core:unitTest FAILED
17:12:14 Tests with failures:
17:12:14 - org.elasticsearch.xpack.core.security.action.role.PutRoleRequestTests.testSerializationBetweenV63AndV70

run gradle build tests 1

@albertzaharovits
Copy link
Contributor

run gradle build tests 2

Copy link
Member

@jkakavas jkakavas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bizybot bizybot merged commit ca4b586 into elastic:master Jan 21, 2019
bizybot added a commit to bizybot/elasticsearch that referenced this pull request Jan 21, 2019
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
bizybot pushed a commit to bizybot/elasticsearch that referenced this pull request Jan 22, 2019
The PR for the fix has been merged.
elastic#37661
but the awaits fix annotation was not removed.
bizybot added a commit that referenced this pull request Jan 22, 2019
The PR for the fix has been merged.
#37661
but the awaits fix annotation was not removed.
bizybot added a commit that referenced this pull request Jan 22, 2019
The PR for the fix has been merged.
#37661
but the awaits fix annotation was not removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC >test-failure Triaged test failures from CI v6.7.0 v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants