Fix MultiClusterSearchYamlTestSuiteIT test failures (#58359)

Restore number of shards for the field_caps_empty_index
This commit is contained in:
Jim Ferenczi 2020-06-24 13:38:39 +02:00 committed by jimczi
parent d5ac3bb87f
commit f6d5f452cd
6 changed files with 8 additions and 23 deletions

View File

@ -294,7 +294,7 @@
- match: { hits.total: 12 } - match: { hits.total: 12 }
--- ---
"Search an filtered alias on the remote cluster": "Search a filtered alias on the remote cluster":
- do: - do:
search: search:
@ -311,10 +311,7 @@
- match: { hits.hits.0._index: "my_remote_cluster:test_index" } - match: { hits.hits.0._index: "my_remote_cluster:test_index" }
--- ---
"Search an filtered alias and empty index on the remote cluster": "Search a filtered alias and empty index on the remote cluster":
- skip:
version: "all"
reason: "AwaitsFix https://github.com/elastic/elasticsearch/issues/58345"
- do: - do:
search: search:
@ -332,9 +329,6 @@
--- ---
"Single shard search gets properly proxied": "Single shard search gets properly proxied":
- skip:
version: "all"
reason: "AwaitsFix https://github.com/elastic/elasticsearch/issues/58345"
- do: - do:
search: search:

View File

@ -19,9 +19,6 @@ teardown:
--- ---
"Test that remote index names are preserved in top hits": "Test that remote index names are preserved in top hits":
- skip:
version: "all"
reason: "AwaitsFix https://github.com/elastic/elasticsearch/issues/58345"
- do: - do:
bulk: bulk:

View File

@ -1,8 +1,5 @@
--- ---
"Test that remote indices are subject to shard skipping": "Test that remote indices are subject to shard skipping":
- skip:
version: "all"
reason: "AwaitsFix https://github.com/elastic/elasticsearch/issues/58345"
- do: - do:
indices.create: indices.create:

View File

@ -19,9 +19,6 @@ teardown:
--- ---
"Test that remote indices are maintained when we aggregate on _index": "Test that remote indices are maintained when we aggregate on _index":
- skip:
version: "all"
reason: "AwaitsFix https://github.com/elastic/elasticsearch/issues/58345"
- do: - do:
bulk: bulk:

View File

@ -17,9 +17,6 @@ teardown:
--- ---
"Test that queries on _index match against the correct indices.": "Test that queries on _index match against the correct indices.":
- skip:
version: "all"
reason: "AwaitsFix https://github.com/elastic/elasticsearch/issues/58345"
- do: - do:
bulk: bulk:
@ -62,9 +59,6 @@ teardown:
--- ---
"Test that queries on _index that don't match are skipped": "Test that queries on _index that don't match are skipped":
- skip:
version: "all"
reason: "AwaitsFix https://github.com/elastic/elasticsearch/issues/58345"
- do: - do:
bulk: bulk:

View File

@ -50,6 +50,7 @@
body: body:
settings: settings:
index: index:
number_of_shards: 1
number_of_replicas: 0 number_of_replicas: 0
mappings: mappings:
properties: properties:
@ -66,6 +67,11 @@
- do: - do:
indices.create: indices.create:
index: field_caps_empty_index index: field_caps_empty_index
body:
settings:
index:
number_of_shards: 1
number_of_replicas: 0
- do: - do:
indices.create: indices.create: