Skip to content

Commit

Permalink
EQL: Fix async EQL Rest test
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 elastic#59416
  • Loading branch information
imotov committed Jul 14, 2020
1 parent 16e3d69 commit 3830a55
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 3830a55

Please sign in to comment.