Skip to content

Commit

Permalink
Specify concrete index in top metrics test (elastic#73641)
Browse files Browse the repository at this point in the history
Otherwise it might fail on system indices in 7.x

Fixes elastic#73176
  • Loading branch information
imotov committed Jun 2, 2021
1 parent 1bb4dc3 commit 8e72311
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

- do:
search:
index: test
size: 0
body:
aggs:
Expand Down Expand Up @@ -45,6 +46,7 @@

- do:
search:
index: test
body:
aggs:
tm:
Expand Down Expand Up @@ -87,6 +89,7 @@

- do:
search:
index: test
size: 0
body:
aggs:
Expand All @@ -101,6 +104,7 @@

- do:
search:
index: test
body:
aggs:
tm:
Expand Down Expand Up @@ -141,6 +145,7 @@

- do:
search:
index: test
size: 0
body:
aggs:
Expand All @@ -155,6 +160,7 @@

- do:
search:
index: test
body:
aggs:
tm:
Expand Down Expand Up @@ -228,6 +234,7 @@

- do:
search:
index: test
size: 0
body:
query:
Expand Down Expand Up @@ -258,6 +265,7 @@

- do:
search:
index: test
size: 0
body:
aggs:
Expand Down Expand Up @@ -340,6 +348,7 @@

- do:
search:
index: test
size: 0
body:
aggs:
Expand All @@ -355,6 +364,7 @@

- do:
search:
index: test
size: 0
body:
aggs:
Expand Down Expand Up @@ -403,6 +413,7 @@

- do:
search:
index: test
size: 0
body:
aggs:
Expand All @@ -426,6 +437,7 @@

- do:
search:
index: test
size: 0
body:
aggs:
Expand Down Expand Up @@ -475,6 +487,7 @@

- do:
search:
index: test
size: 0
body:
aggs:
Expand Down Expand Up @@ -505,6 +518,7 @@
- '{"ip": "192.168.0.2", "date": "2020-01-01T03:01:01"}'
- do:
search:
index: test
size: 0
body:
aggs:
Expand Down Expand Up @@ -554,6 +568,7 @@
- do:
catch: bad_request
search:
index: test
size: 0
body:
aggs:
Expand All @@ -574,6 +589,7 @@

- do:
search:
index: test
size: 0
body:
aggs:
Expand Down Expand Up @@ -607,6 +623,7 @@

- do:
search:
index: test
size: 0
body:
aggs:
Expand Down Expand Up @@ -641,6 +658,7 @@
- do:
catch: /top_metrics can only collect bytes that have segment ordinals but Field \[species\] of type \[keyword\] does not/
search:
index: test
size: 0
body:
runtime_mappings:
Expand Down Expand Up @@ -673,6 +691,7 @@

- do:
search:
index: test
size: 0
body:
aggs:
Expand Down

0 comments on commit 8e72311

Please sign in to comment.