Skip to content

Commit

Permalink
revert 40_source_mode_setting.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrik-es committed Oct 31, 2024
1 parent ca235cc commit 46f1ab0
Showing 1 changed file with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 46f1ab0

Please sign in to comment.