mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
fix state left over by spec test
This commit is contained in:
parent
8e282f21c8
commit
9850f44b95
@ -101,3 +101,19 @@ setup:
|
||||
lifecycle: "my_timeseries_lifecycle"
|
||||
- match: { error.root_cause.0.type: "illegal_argument_exception" }
|
||||
- match: { error.root_cause.0.reason: "Cannot delete policy [my_timeseries_lifecycle]. It is being used by at least one index [my_timeseries_index]" }
|
||||
|
||||
- do:
|
||||
indices.put_settings:
|
||||
index: my_timeseries_index
|
||||
body:
|
||||
index.lifecycle.name: ""
|
||||
|
||||
- do:
|
||||
acknowledge: true
|
||||
xpack.index_lifecycle.delete_lifecycle:
|
||||
lifecycle: "my_timeseries_lifecycle"
|
||||
|
||||
- do:
|
||||
catch: missing
|
||||
xpack.index_lifecycle.get_lifecycle:
|
||||
lifecycle: "my_timeseries_lifecycle"
|
||||
|
Loading…
x
Reference in New Issue
Block a user