Skip to content

Commit 83b5613

Browse files
committed
Fix tests
1 parent 6f00553 commit 83b5613

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

client/rest-high-level/src/test/java/org/elasticsearch/client/EqlIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public void testEqualsInFilterConditionSearch() throws Exception {
141141
EqlClient eql = highLevelClient().eql();
142142

143143
EqlSearchRequest request = new EqlSearchRequest("index",
144-
"process where event_type_full = \"process_event\" and serial_event_id in (1,3,5)");
144+
"process where event_type_full == \"process_event\" and serial_event_id in (1,3,5)");
145145

146146
EqlSearchResponse response = execute(request, eql::search, eql::searchAsync);
147147
assertResponse(response, 3);

docs/reference/eql/eql-search-api.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ event.
1919
GET /my-index-000001/_eql/search
2020
{
2121
"query": """
22-
process where process.name = "regsvr32.exe"
22+
process where process.name == "regsvr32.exe"
2323
"""
2424
}
2525
----

docs/reference/eql/functions.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ expressions.
10861086
process.name == "*regsvr32*" or process.name == "*explorer*"
10871087
wildcard(process.name, "*regsvr32*", "*explorer*")
10881088
1089-
// process.name == "regsvr32.exe"
1089+
// process.name = "regsvr32.exe"
10901090
wildcard(process.name, "*regsvr32*") // returns true
10911091
wildcard(process.name, "*regsvr32*", "*explorer*") // returns true
10921092
wildcard(process.name, "*explorer*") // returns false

x-pack/plugin/src/test/resources/rest-api-spec/test/data_stream/10_data_stream_resolvability.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@
516516
eql.search:
517517
index: simple-data-stream1
518518
body:
519-
query: 'process where user = "SYSTEM"'
519+
query: 'process where user == "SYSTEM"'
520520

521521
- match: {timed_out: false}
522522
- match: {hits.total.value: 1}
@@ -527,7 +527,7 @@
527527
eql.search:
528528
index: simple-data-s*
529529
body:
530-
query: 'process where user = "SYSTEM"'
530+
query: 'process where user == "SYSTEM"'
531531

532532
- match: {timed_out: false}
533533
- match: {hits.total.value: 1}

0 commit comments

Comments
 (0)