Skip to content

Commit af5a001

Browse files
committed
Replace explicit indices with API conventions in yaml tests
1 parent 71a4898 commit af5a001

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

modules/data-streams/src/yamlRestTest/resources/rest-api-spec/test/data_stream/260_logs_failure_store.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ teardown:
3434
name: logs-app-default
3535
- match: { data_streams.0.name: logs-app-default }
3636
- length: { data_streams.0.indices: 1 }
37-
- set: { data_streams.0.indices.0.index_name: idx0name }
3837
- match: { data_streams.0.failure_store.enabled: true }
3938
- length: { data_streams.0.failure_store.indices: 0 }
4039

@@ -58,11 +57,10 @@ teardown:
5857
indices.get_data_stream:
5958
name: logs-app-default
6059
- length: { data_streams.0.failure_store.indices: 1 }
61-
- set: { data_streams.0.failure_store.indices.0.index_name: fs0name }
6260

6361
- do:
6462
search:
65-
index: $idx0name
63+
index: logs-app-default::data
6664
body:
6765
query:
6866
match_all: {}
@@ -72,7 +70,7 @@ teardown:
7270

7371
- do:
7472
search:
75-
index: $fs0name
73+
index: logs-app-default::failures
7674
body:
7775
query:
7876
match_all: {}

0 commit comments

Comments
 (0)