fix ilm rest-tests to reflect latest get_policy changes

This commit is contained in:
Tal Levy 2018-04-12 07:47:57 -07:00
parent 088894019e
commit 34e15011a1
1 changed files with 6 additions and 6 deletions

View File

@ -37,9 +37,9 @@ setup:
acknowledge: true acknowledge: true
xpack.index_lifecycle.get_lifecycle: xpack.index_lifecycle.get_lifecycle:
lifecycle: "my_timeseries_lifecycle" lifecycle: "my_timeseries_lifecycle"
- match: { type: "timeseries" } - match: { my_timeseries_lifecycle.type: "timeseries" }
- match: { phases.warm.after: "10s" } - match: { my_timeseries_lifecycle.phases.warm.after: "10s" }
- match: { phases.delete.after: "30s" } - match: { my_timeseries_lifecycle.phases.delete.after: "30s" }
- do: - do:
acknowledge: true acknowledge: true
@ -84,9 +84,9 @@ setup:
acknowledge: true acknowledge: true
xpack.index_lifecycle.get_lifecycle: xpack.index_lifecycle.get_lifecycle:
lifecycle: "my_timeseries_lifecycle" lifecycle: "my_timeseries_lifecycle"
- match: { type: "timeseries" } - match: { my_timeseries_lifecycle.type: "timeseries" }
- match: { phases.warm.after: "10s" } - match: { my_timeseries_lifecycle.phases.warm.after: "10s" }
- match: { phases.delete.after: "30s" } - match: { my_timeseries_lifecycle.phases.delete.after: "30s" }
- do: - do:
indices.create: indices.create: