fix ilm rest-tests to reflect latest get_policy changes
@@ -37,9 +37,9 @@ setup:
acknowledge: true
xpack.index_lifecycle.get_lifecycle:
lifecycle: "my_timeseries_lifecycle"
- - match: { type: "timeseries" }
- - match: { phases.warm.after: "10s" }
- - match: { phases.delete.after: "30s" }
+ - match: { my_timeseries_lifecycle.type: "timeseries" }
+ - match: { my_timeseries_lifecycle.phases.warm.after: "10s" }
+ - match: { my_timeseries_lifecycle.phases.delete.after: "30s" }
- do:
acknowledge: true
@@ -84,9 +84,9 @@ setup:
acknowledge: true
xpack.index_lifecycle.get_lifecycle:
lifecycle: "my_timeseries_lifecycle"
- - match: { type: "timeseries" }
- - match: { phases.warm.after: "10s" }
- - match: { phases.delete.after: "30s" }
+ - match: { my_timeseries_lifecycle.type: "timeseries" }
+ - match: { my_timeseries_lifecycle.phases.warm.after: "10s" }
+ - match: { my_timeseries_lifecycle.phases.delete.after: "30s" }
- do:
indices.create:
