From 6d269abd14a6205d25b6e0a0d75e6bb7672b31c1 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Fri, 15 May 2020 17:43:10 +0200 Subject: [PATCH] Remove data stream yaml test in 7.7 branch (#56808) Data streams were not released in 7.7.x and only available behind a feature flag. The feature flag isn't set in all the places and instead of adding complexity to the 7.7 branch for an unreleased feature, it would be better to remove the yaml test. --- .../test/indices.data_stream/10_basic.yml | 33 ------------------- 1 file changed, 33 deletions(-) delete mode 100644 rest-api-spec/src/main/resources/rest-api-spec/test/indices.data_stream/10_basic.yml diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.data_stream/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.data_stream/10_basic.yml deleted file mode 100644 index 2861c443bfa8e..0000000000000 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.data_stream/10_basic.yml +++ /dev/null @@ -1,33 +0,0 @@ ---- -"Create data stream": - - skip: - version: " - 7.6.99" - reason: available only in 7.7+ - - - do: - indices.create_data_stream: - name: simple-data-stream1 - body: - timestamp_field: "@timestamp" - - is_true: acknowledged - - - do: - indices.create_data_stream: - name: simple-data-stream2 - body: - timestamp_field: "@timestamp2" - - is_true: acknowledged - - - do: - indices.get_data_streams: {} - - match: { 0.name: simple-data-stream1 } - - match: { 0.timestamp_field: '@timestamp' } - - match: { 0.indices: [] } - - match: { 1.name: simple-data-stream2 } - - match: { 1.timestamp_field: '@timestamp2' } - - match: { 1.indices: [] } - - - do: - indices.delete_data_stream: - name: simple-data-stream2 - - is_true: acknowledged