Skip to content

Commit 3e6f7d6

Browse files
authored
EQL: Fix async EQL Rest test (#59556) (#59631)
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
1 parent 6fa5bc9 commit 3e6f7d6

File tree

1 file changed

+1
-2
lines changed
  • x-pack/plugin/eql/qa/rest/src/test/resources/rest-api-spec/test/eql

1 file changed

+1
-2
lines changed

x-pack/plugin/eql/qa/rest/src/test/resources/rest-api-spec/test/eql/10_basic.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,10 @@ setup:
3232
eql.search:
3333
index: eql_test
3434
wait_for_completion_timeout: "0ms"
35+
keep_on_completion: true
3536
body:
3637
query: "process where user = 'SYSTEM'"
3738

38-
- match: {is_running: true}
39-
- match: {is_partial: true}
4039
- is_true: id
4140
- set: {id: id}
4241

0 commit comments

Comments
 (0)