forked from elastic/elastic-package
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sort to system test query (elastic#203)
While executing system tests multiple times I was getting different results on each run. The root cause was that the test samples 10 of the events that are written to ES. And on each run it was getting different events back, validating them, and returning a unique set of errors. I changed the query to sort on the @timestamp and to also sample more events (up to 500). This way we get more repeatable tests.
- Loading branch information
1 parent
88f40b5
commit f708276
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters