Skip to content

Commit 0d8964c

Browse files
committed
cannot depend on list order
1 parent 7eb44ab commit 0d8964c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/data-streams/src/yamlRestTest/resources/rest-api-spec/test/data_stream/240_data_stream_settings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ setup:
5757
- match: { data_streams.0.name: my-data-stream-1 }
5858
- match: { data_streams.0.applied_to_data_stream: true }
5959
- match: { data_streams.0.index_settings_results.applied_to_data_stream_only: [index.number_of_shards]}
60-
- match: { data_streams.0.index_settings_results.applied_to_data_stream_and_backing_indices: [index.lifecycle.name, index.lifecycle.prefer_ilm] }
60+
- length: { data_streams.0.index_settings_results.applied_to_data_stream_and_backing_indices: 2 }
6161
- match: { data_streams.0.settings.index.number_of_shards: "2" }
6262
- match: { data_streams.0.settings.index.lifecycle.name: "my-new-policy" }
6363
- match: { data_streams.0.settings.index.lifecycle.prefer_ilm: "true" }

0 commit comments

Comments
 (0)