Skip to content

Commit d604b61

Browse files
committed
Change checks to make them compatible with serverless
1 parent ed7508f commit d604b61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/90_synonyms_reloading_for_synset.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@
106106
- synonyms: "hello, salute"
107107
- synonyms: "ciao => goodbye"
108108
- match: { result: "updated" }
109-
- set: { reload_analyzers_details._shards.total: total_shards }
110-
- gte: { reload_analyzers_details._shards.total: 2 } # Shards for all indices were reloaded. On serverless this may be more as there are more replicas
111-
- lt: { reload_analyzers_details._shards.successful: $total_shards } # Only shards for the first index are successful
109+
- gt: { reload_analyzers_details._shards.total: 0 }
110+
- gt: { reload_analyzers_details._shards.successful: 0 }
111+
- match: { reload_analyzers_details._shards.failed: 0 }
112112
- length: { reload_analyzers_details.reload_details: 1 } # reload details contain only a single index
113113
- match: { reload_analyzers_details.reload_details.0.index: "my_index1" }
114114
- match: { reload_analyzers_details.reload_details.0.reloaded_analyzers.0: "my_analyzer1" }

0 commit comments

Comments
 (0)