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

[Security Solutions][Detection Engine] Fixes a flakey test by adding upload list item checking #84015

Merged
merged 2 commits into from
Nov 23, 2020

Conversation

FrankHassanabad
Copy link
Contributor

@FrankHassanabad FrankHassanabad commented Nov 21, 2020

Summary

Fixes flakey tests by adding explicit list value upload items through either the fixture that was uploaded or by a specific test value in case the uploaded list is a range value. Also filters out any empty values for more safeguards from prettier formatters that add them to fixture files.

#84014

Checklist

@FrankHassanabad FrankHassanabad changed the title Adds safe guards against in-determinism by checking list items after … [Security Solutions][Detection Engine] Fixes a flakey test by adding upload list item checking Nov 21, 2020
@FrankHassanabad FrankHassanabad self-assigned this Nov 21, 2020
@FrankHassanabad FrankHassanabad added Feature:Rule Value Lists Security Solution Detection Rule Value Lists area release_note:skip Skip the PR/issue when compiling release notes v8.0.0 v7.11.0 Team:Detections and Resp Security Detection Response Team labels Nov 21, 2020
@FrankHassanabad FrankHassanabad marked this pull request as ready for review November 21, 2020 19:33
@FrankHassanabad FrankHassanabad requested review from a team as code owners November 21, 2020 19:33
@FrankHassanabad FrankHassanabad added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Nov 22, 2020
@FrankHassanabad
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@peluja1012 peluja1012 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@FrankHassanabad FrankHassanabad merged commit 24c7b2d into elastic:master Nov 23, 2020
@FrankHassanabad FrankHassanabad deleted the list-import-safeguard branch November 23, 2020 15:13
FrankHassanabad added a commit to FrankHassanabad/kibana that referenced this pull request Nov 23, 2020
…uploads (elastic#84015)

## Summary

Fixes flakey tests by adding explicit list value upload items through either the fixture that was uploaded or by a specific test value in case the uploaded list is a range value. Also filters out any empty values for more safeguards from prettier formatters that add them to fixture files.

elastic#84014

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
FrankHassanabad added a commit that referenced this pull request Nov 23, 2020
…uploads (#84015) (#84098)

## Summary

Fixes flakey tests by adding explicit list value upload items through either the fixture that was uploaded or by a specific test value in case the uploaded list is a range value. Also filters out any empty values for more safeguards from prettier formatters that add them to fixture files.

#84014

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Rule Value Lists Security Solution Detection Rule Value Lists area release_note:skip Skip the PR/issue when compiling release notes Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants