Skip to content

Commit ba31a5c

Browse files
author
Aaron Caldwell
committed
Review feedback. Remove unneeded hits content in test files
1 parent 2b7e8fb commit ba31a5c

File tree

2 files changed

+2
-84
lines changed

2 files changed

+2
-84
lines changed

x-pack/plugins/stack_alerts/server/alert_types/geo_threshold/tests/es_sample_response.json

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -13,48 +13,7 @@
1313
"relation" : "gte"
1414
},
1515
"max_score" : 0.0,
16-
"hits" : [
17-
{
18-
"_index" : "flight_tracks",
19-
"_id" : "XOng1XQB6yyY-xQxbwWM",
20-
"_score" : 0.0,
21-
"fields" : {
22-
"@timestamp" : [
23-
"2020-09-28T18:01:29.580Z"
24-
]
25-
}
26-
},
27-
{
28-
"_index" : "flight_tracks",
29-
"_id" : "Xeng1XQB6yyY-xQxbwWM",
30-
"_score" : 0.0,
31-
"fields" : {
32-
"@timestamp" : [
33-
"2020-09-28T18:01:29.580Z"
34-
]
35-
}
36-
},
37-
{
38-
"_index" : "flight_tracks",
39-
"_id" : "Xung1XQB6yyY-xQxbwWM",
40-
"_score" : 0.0,
41-
"fields" : {
42-
"@timestamp" : [
43-
"2020-09-28T18:01:29.580Z"
44-
]
45-
}
46-
},
47-
{
48-
"_index" : "flight_tracks",
49-
"_id" : "UOjg1XQB6yyY-xQxZvMz",
50-
"_score" : 0.0,
51-
"fields" : {
52-
"@timestamp" : [
53-
"2020-09-28T18:01:27.266Z"
54-
]
55-
}
56-
}
57-
]
16+
"hits" : []
5817
},
5918
"aggregations" : {
6019
"shapes" : {

x-pack/plugins/stack_alerts/server/alert_types/geo_threshold/tests/es_sample_response_with_nesting.json

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -13,48 +13,7 @@
1313
"relation" : "gte"
1414
},
1515
"max_score" : 0.0,
16-
"hits" : [
17-
{
18-
"_index" : "flight_tracks",
19-
"_id" : "XOng1XQB6yyY-xQxbwWM",
20-
"_score" : 0.0,
21-
"fields" : {
22-
"@timestamp" : [
23-
"2020-09-28T18:01:29.580Z"
24-
]
25-
}
26-
},
27-
{
28-
"_index" : "flight_tracks",
29-
"_id" : "Xeng1XQB6yyY-xQxbwWM",
30-
"_score" : 0.0,
31-
"fields" : {
32-
"@timestamp" : [
33-
"2020-09-28T18:01:29.580Z"
34-
]
35-
}
36-
},
37-
{
38-
"_index" : "flight_tracks",
39-
"_id" : "Xung1XQB6yyY-xQxbwWM",
40-
"_score" : 0.0,
41-
"fields" : {
42-
"@timestamp" : [
43-
"2020-09-28T18:01:29.580Z"
44-
]
45-
}
46-
},
47-
{
48-
"_index" : "flight_tracks",
49-
"_id" : "UOjg1XQB6yyY-xQxZvMz",
50-
"_score" : 0.0,
51-
"fields" : {
52-
"@timestamp" : [
53-
"2020-09-28T18:01:27.266Z"
54-
]
55-
}
56-
}
57-
]
16+
"hits" : []
5817
},
5918
"aggregations" : {
6019
"shapes" : {

0 commit comments

Comments
 (0)