From 46f1ab057e285ece9a0a293e407989b2e13c8577 Mon Sep 17 00:00:00 2001 From: Kostas Krikellas Date: Thu, 31 Oct 2024 18:33:33 +0200 Subject: [PATCH] revert 40_source_mode_setting.yml --- .../test/40_source_mode_setting.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/x-pack/plugin/logsdb/src/yamlRestTest/resources/rest-api-spec/test/40_source_mode_setting.yml b/x-pack/plugin/logsdb/src/yamlRestTest/resources/rest-api-spec/test/40_source_mode_setting.yml index 3d1a32a6bdcb8..33fedce3b59c1 100644 --- a/x-pack/plugin/logsdb/src/yamlRestTest/resources/rest-api-spec/test/40_source_mode_setting.yml +++ b/x-pack/plugin/logsdb/src/yamlRestTest/resources/rest-api-spec/test/40_source_mode_setting.yml @@ -85,6 +85,11 @@ create an index with stored source mode and logsdb index mode without setting: _source: mode: stored + - do: + indices.get_settings: + index: "test_stored_logsdb" + - match: { test_stored_logsdb.settings.index.mode: logsdb } + - do: indices.get_mapping: index: test_stored_logsdb @@ -156,12 +161,18 @@ create an index with stored source mode and time series index mode without setti type: keyword time_series_dimension: true + - do: + indices.get_settings: + index: "test_stored_time_series" + - match: { test_stored_time_series.settings.index.mode: time_series } + - do: indices.get_mapping: index: test_stored_time_series - match: { test_stored_time_series.mappings._source.mode: stored } + --- create an index with synthetic source mode and time series index mode without setting: - do: @@ -512,7 +523,7 @@ create an index with time_series index mode and stored source: - do: indices.get_settings: index: "test_time_series_index_mode_undefined" - - match: { test_time_series_index_mode_undefined.settings.index.mapping.source.mode: stored } + - match: { test_time_series_index_mode_undefined.settings.index.mode: time_series } - do: indices.get_mapping: @@ -531,6 +542,11 @@ create an index with logsdb index mode and stored source: mode: logsdb mapping.source.mode: stored + - do: + indices.get_settings: + index: "test_logsdb_index_mode_undefined" + - match: { test_logsdb_index_mode_undefined.settings.index.mode: logsdb } + - do: indices.get_mapping: index: test_logsdb_index_mode_undefined