Skip to content

Commit

Permalink
EQL: Fix async EQL Rest test (#59556)
Browse files Browse the repository at this point in the history
Unfortunately, we cannot guarantee that the execution will be truly
async even with 0ms timeout since we cannot block the execution. So, we need
to modify the test to work in both async and non-async mode.

Closes #59416
  • Loading branch information
imotov authored Jul 15, 2020
1 parent e22088d commit f420018
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ setup:
eql.search:
index: eql_test
wait_for_completion_timeout: "0ms"
keep_on_completion: true
body:
query: "process where user = 'SYSTEM'"

- match: {is_running: true}
- match: {is_partial: true}
- is_true: id
- set: {id: id}

Expand Down

0 comments on commit f420018

Please sign in to comment.