Skip to content

Commit

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

Fixes #73176
  • Loading branch information
imotov authored Jun 2, 2021
1 parent 7bbd311 commit e036378
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

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

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

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

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

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

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

- do:
search:
index: test
size: 0
body:
query:
Expand All @@ -234,6 +241,7 @@

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

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

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

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

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

- do:
search:
index: test
size: 0
body:
aggs:
Expand Down Expand Up @@ -469,6 +482,7 @@
- '{"ip": "192.168.0.2", "date": "2020-01-01T03:01:01"}'
- do:
search:
index: test
size: 0
body:
aggs:
Expand Down Expand Up @@ -514,6 +528,7 @@
- do:
catch: bad_request
search:
index: test
size: 0
body:
aggs:
Expand All @@ -534,6 +549,7 @@

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

- do:
search:
index: test
size: 0
body:
aggs:
Expand Down Expand Up @@ -601,6 +618,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 @@ -633,6 +651,7 @@

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

0 comments on commit e036378

Please sign in to comment.