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

Skipping the privileges api integration test #36142

Merged
merged 1 commit into from
May 7, 2019

Conversation

kobelb
Copy link
Contributor

@kobelb kobelb commented May 6, 2019

The api tests for /api/security/privileges currently have to be updated as new features are added or whenever a number of changes are made to existing features. This is a burden to the consuming application teams, and provides them very little benefit.

The security team still sees some benefit from these tests when checking the infrastructure which calculated these privileges; however, we can selectively only run these tests when they benefit us. Hence the skip instead of just deleting the tests entirely.

If we get to the point where we're able to use jest's snapshotting, there's potential that the burden will be low enough to reintroduce this test and always have it run. The downsides just out weigh the benefits at this point in time.

@kobelb kobelb added non-issue Indicates to automation that a pull request should not appear in the release notes Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v8.0.0 v7.2.0 labels May 6, 2019
@kobelb kobelb requested a review from legrego May 6, 2019 20:44
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@kobelb kobelb merged commit 04da8b2 into elastic:master May 7, 2019
@kobelb kobelb deleted the skip-annoying-test branch May 7, 2019 14:46
kobelb added a commit to kobelb/kibana that referenced this pull request May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non-issue Indicates to automation that a pull request should not appear in the release notes Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v7.2.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants