Browse Source

Do not use auto_expand_replica in mget yaml rest tests (#97427)

As described in the issue, the change in #96763
has made the MixedClusterClientYamlTestSuiteIT for mget fail very
often. For now, let's take the same approach that we have for get.

Closes #97236
Pooya Salehi 2 years ago
parent
commit
34eb74fa23

+ 0 - 10
rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/mget/40_routing.yml

@@ -8,11 +8,6 @@ routing:
             index:
               number_of_shards: 5
               number_of_routing_shards: 5
-              auto_expand_replicas: 0-1
-
-  - do:
-      cluster.health:
-          wait_for_status: green
 
   - do:
       index:
@@ -51,15 +46,10 @@ requires routing:
           settings:
             index:
               number_of_shards: 5
-              auto_expand_replicas: 0-1
           mappings:
             _routing:
               required: true
 
-  - do:
-      cluster.health:
-        wait_for_status: green
-
   - do:
       index:
         index:   test_1

+ 0 - 5
rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/mget/60_realtime_refresh.yml

@@ -9,11 +9,6 @@
           settings:
             index:
               refresh_interval: -1
-              auto_expand_replicas: 0-1
-
- - do:
-      cluster.health:
-          wait_for_status: green
 
  - do:
       index: