Stop filtering on `_type`.
Relates elastic/elasticsearch#29468 Original commit: elastic/x-pack-elasticsearch@b96bcd937f
This commit is contained in:
parent
98815655c1
commit
4d1314906e
|
@ -78,7 +78,6 @@
|
|||
- do:
|
||||
search:
|
||||
index: .monitoring-data-*
|
||||
type: kibana
|
||||
|
||||
- match: { hits.total: 0 }
|
||||
|
||||
|
@ -122,7 +121,6 @@
|
|||
- do:
|
||||
search:
|
||||
index: .monitoring-data-*
|
||||
type: kibana
|
||||
|
||||
- match: { hits.total: 0 }
|
||||
|
||||
|
|
|
@ -74,12 +74,10 @@ teardown:
|
|||
headers: { Authorization: "Basic dGVzdF91c2VyOngtcGFjay10ZXN0LXBhc3N3b3Jk" } # test_user
|
||||
search:
|
||||
index: ".security"
|
||||
type: "doc"
|
||||
|
||||
- do:
|
||||
headers: { Authorization: "Basic dGVzdF91c2VyOngtcGFjay10ZXN0LXBhc3N3b3Jk" } # test_user
|
||||
search:
|
||||
index: ".secu*rity"
|
||||
type: "doc"
|
||||
- match: { hits.total: 0 }
|
||||
|
||||
|
|
|
@ -74,12 +74,10 @@ teardown:
|
|||
headers: { Authorization: "Basic dGVzdF91c2VyOngtcGFjay10ZXN0LXBhc3N3b3Jk" } # test_user
|
||||
search:
|
||||
index: ".security-6"
|
||||
type: "doc"
|
||||
|
||||
- do:
|
||||
headers: { Authorization: "Basic dGVzdF91c2VyOngtcGFjay10ZXN0LXBhc3N3b3Jk" } # test_user
|
||||
search:
|
||||
index: ".security*6"
|
||||
type: "doc"
|
||||
- match: { hits.total: 0 }
|
||||
|
||||
|
|
|
@ -228,7 +228,7 @@ public class MlJobIT extends ESRestTestCase {
|
|||
responseAsString = responseEntityToString(response);
|
||||
assertThat(responseAsString, containsString("\"count\":2"));
|
||||
|
||||
response = client().performRequest("get", AnomalyDetectorsIndex.jobResultsAliasedName(jobId1) + "/doc/_search");
|
||||
response = client().performRequest("get", AnomalyDetectorsIndex.jobResultsAliasedName(jobId1) + "/_search");
|
||||
assertThat(response.getStatusLine().getStatusCode(), equalTo(200));
|
||||
responseAsString = responseEntityToString(response);
|
||||
assertThat(responseAsString, containsString("\"total\":2"));
|
||||
|
|
Loading…
Reference in New Issue