Skip to content

Commit ed7508f

Browse files
committed
Fix successful shards
1 parent 6f64fe2 commit ed7508f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
- match: { result: "updated" }
109109
- set: { reload_analyzers_details._shards.total: total_shards }
110110
- 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-
- match: { reload_analyzers_details._shards.successful: $total_shards }
111+
- lt: { reload_analyzers_details._shards.successful: $total_shards } # Only shards for the first index are successful
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)