Remove unnecessary "acknowledge: true" statements in REST tests
This commit is contained in:
parent
3e7042832a
commit
a4b634e60e
|
@ -17,7 +17,6 @@ setup:
|
||||||
policy: "my_timeseries_lifecycle"
|
policy: "my_timeseries_lifecycle"
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowlege: true
|
|
||||||
ilm.put_lifecycle:
|
ilm.put_lifecycle:
|
||||||
policy: "my_timeseries_lifecycle"
|
policy: "my_timeseries_lifecycle"
|
||||||
body: |
|
body: |
|
||||||
|
@ -43,7 +42,6 @@ setup:
|
||||||
}
|
}
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.get_lifecycle:
|
ilm.get_lifecycle:
|
||||||
policy: "my_timeseries_lifecycle"
|
policy: "my_timeseries_lifecycle"
|
||||||
- match: { my_timeseries_lifecycle.version: 1 }
|
- match: { my_timeseries_lifecycle.version: 1 }
|
||||||
|
@ -52,7 +50,6 @@ setup:
|
||||||
- match: { my_timeseries_lifecycle.policy.phases.delete.minimum_age: "30s" }
|
- match: { my_timeseries_lifecycle.policy.phases.delete.minimum_age: "30s" }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.delete_lifecycle:
|
ilm.delete_lifecycle:
|
||||||
policy: "my_timeseries_lifecycle"
|
policy: "my_timeseries_lifecycle"
|
||||||
|
|
||||||
|
@ -64,7 +61,6 @@ setup:
|
||||||
---
|
---
|
||||||
"Test Policy Update":
|
"Test Policy Update":
|
||||||
- do:
|
- do:
|
||||||
acknowlege: true
|
|
||||||
ilm.put_lifecycle:
|
ilm.put_lifecycle:
|
||||||
policy: "my_timeseries_lifecycle"
|
policy: "my_timeseries_lifecycle"
|
||||||
body: |
|
body: |
|
||||||
|
@ -90,7 +86,6 @@ setup:
|
||||||
}
|
}
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.get_lifecycle:
|
ilm.get_lifecycle:
|
||||||
policy: "my_timeseries_lifecycle"
|
policy: "my_timeseries_lifecycle"
|
||||||
- match: { my_timeseries_lifecycle.version: 1 }
|
- match: { my_timeseries_lifecycle.version: 1 }
|
||||||
|
@ -114,7 +109,6 @@ setup:
|
||||||
index.lifecycle.name: "my_moveable_timeseries_lifecycle"
|
index.lifecycle.name: "my_moveable_timeseries_lifecycle"
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowlege: true
|
|
||||||
ilm.put_lifecycle:
|
ilm.put_lifecycle:
|
||||||
policy: "my_timeseries_lifecycle"
|
policy: "my_timeseries_lifecycle"
|
||||||
body: |
|
body: |
|
||||||
|
@ -140,7 +134,6 @@ setup:
|
||||||
}
|
}
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.get_lifecycle:
|
ilm.get_lifecycle:
|
||||||
policy: "my_timeseries_lifecycle"
|
policy: "my_timeseries_lifecycle"
|
||||||
- match: { my_timeseries_lifecycle.version: 2 }
|
- match: { my_timeseries_lifecycle.version: 2 }
|
||||||
|
@ -149,16 +142,13 @@ setup:
|
||||||
- match: { my_timeseries_lifecycle.policy.phases.delete.minimum_age: "600s" }
|
- match: { my_timeseries_lifecycle.policy.phases.delete.minimum_age: "600s" }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: my_index
|
index: my_index
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: my_index2
|
index: my_index2
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.delete_lifecycle:
|
ilm.delete_lifecycle:
|
||||||
policy: "my_timeseries_lifecycle"
|
policy: "my_timeseries_lifecycle"
|
||||||
|
|
||||||
|
@ -170,7 +160,6 @@ setup:
|
||||||
---
|
---
|
||||||
"Test Undeletable Policy In Use":
|
"Test Undeletable Policy In Use":
|
||||||
- do:
|
- do:
|
||||||
acknowlege: true
|
|
||||||
ilm.put_lifecycle:
|
ilm.put_lifecycle:
|
||||||
policy: "my_timeseries_lifecycle"
|
policy: "my_timeseries_lifecycle"
|
||||||
body: |
|
body: |
|
||||||
|
@ -196,7 +185,6 @@ setup:
|
||||||
}
|
}
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.get_lifecycle:
|
ilm.get_lifecycle:
|
||||||
policy: "my_timeseries_lifecycle"
|
policy: "my_timeseries_lifecycle"
|
||||||
- match: { my_timeseries_lifecycle.policy.phases.warm.minimum_age: "10s" }
|
- match: { my_timeseries_lifecycle.policy.phases.warm.minimum_age: "10s" }
|
||||||
|
@ -221,7 +209,6 @@ setup:
|
||||||
index: my_timeseries_index
|
index: my_timeseries_index
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.delete_lifecycle:
|
ilm.delete_lifecycle:
|
||||||
policy: "my_timeseries_lifecycle"
|
policy: "my_timeseries_lifecycle"
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@ setup:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: yellow
|
wait_for_status: yellow
|
||||||
- do:
|
- do:
|
||||||
acknowlege: true
|
|
||||||
ilm.put_lifecycle:
|
ilm.put_lifecycle:
|
||||||
policy: "my_moveable_timeseries_lifecycle"
|
policy: "my_moveable_timeseries_lifecycle"
|
||||||
body: |
|
body: |
|
||||||
|
@ -28,7 +27,6 @@ setup:
|
||||||
}
|
}
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.get_lifecycle:
|
ilm.get_lifecycle:
|
||||||
policy: "my_moveable_timeseries_lifecycle"
|
policy: "my_moveable_timeseries_lifecycle"
|
||||||
|
|
||||||
|
@ -47,17 +45,14 @@ setup:
|
||||||
teardown:
|
teardown:
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: my_index
|
index: my_index
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: my_index_no_policy
|
index: my_index_no_policy
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.delete_lifecycle:
|
ilm.delete_lifecycle:
|
||||||
policy: "my_moveable_timeseries_lifecycle"
|
policy: "my_moveable_timeseries_lifecycle"
|
||||||
|
|
||||||
|
@ -70,7 +65,6 @@ teardown:
|
||||||
"Test Basic Move To Step":
|
"Test Basic Move To Step":
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.move_to_step:
|
ilm.move_to_step:
|
||||||
index: "my_index"
|
index: "my_index"
|
||||||
body:
|
body:
|
||||||
|
@ -84,7 +78,6 @@ teardown:
|
||||||
name: "forcemerge"
|
name: "forcemerge"
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.explain_lifecycle:
|
ilm.explain_lifecycle:
|
||||||
index: "my_index"
|
index: "my_index"
|
||||||
- match: { indices.my_index.policy: "my_moveable_timeseries_lifecycle" }
|
- match: { indices.my_index.policy: "my_moveable_timeseries_lifecycle" }
|
||||||
|
@ -113,7 +106,6 @@ teardown:
|
||||||
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.explain_lifecycle:
|
ilm.explain_lifecycle:
|
||||||
index: "my_index"
|
index: "my_index"
|
||||||
- match: { indices.my_index.policy: "my_moveable_timeseries_lifecycle" }
|
- match: { indices.my_index.policy: "my_moveable_timeseries_lifecycle" }
|
||||||
|
@ -141,7 +133,6 @@ teardown:
|
||||||
- match: { error.root_cause.0.reason: "step [{\"phase\":\"invalid\",\"action\":\"invalid\",\"name\":\"invalid\"}] for index [my_index] with policy [my_moveable_timeseries_lifecycle] does not exist" }
|
- match: { error.root_cause.0.reason: "step [{\"phase\":\"invalid\",\"action\":\"invalid\",\"name\":\"invalid\"}] for index [my_index] with policy [my_moveable_timeseries_lifecycle] does not exist" }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.explain_lifecycle:
|
ilm.explain_lifecycle:
|
||||||
index: "my_index"
|
index: "my_index"
|
||||||
- match: { indices.my_index.policy: "my_moveable_timeseries_lifecycle" }
|
- match: { indices.my_index.policy: "my_moveable_timeseries_lifecycle" }
|
||||||
|
|
|
@ -5,7 +5,6 @@ setup:
|
||||||
wait_for_status: yellow
|
wait_for_status: yellow
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowlege: true
|
|
||||||
ilm.put_lifecycle:
|
ilm.put_lifecycle:
|
||||||
policy: "my_lifecycle"
|
policy: "my_lifecycle"
|
||||||
body: |
|
body: |
|
||||||
|
@ -29,7 +28,6 @@ setup:
|
||||||
}
|
}
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.get_lifecycle:
|
ilm.get_lifecycle:
|
||||||
policy: "my_lifecycle"
|
policy: "my_lifecycle"
|
||||||
|
|
||||||
|
@ -37,12 +35,10 @@ setup:
|
||||||
teardown:
|
teardown:
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: my_index
|
index: my_index
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.delete_lifecycle:
|
ilm.delete_lifecycle:
|
||||||
policy: "my_lifecycle"
|
policy: "my_lifecycle"
|
||||||
|
|
||||||
|
@ -69,7 +65,6 @@ teardown:
|
||||||
- match: { error.root_cause.0.reason: "cannot retry an action for an index [my_index] that has not encountered an error when running a Lifecycle Policy" }
|
- match: { error.root_cause.0.reason: "cannot retry an action for an index [my_index] that has not encountered an error when running a Lifecycle Policy" }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.explain_lifecycle:
|
ilm.explain_lifecycle:
|
||||||
index: "my_index"
|
index: "my_index"
|
||||||
- match: { indices.my_index.policy: "my_lifecycle" }
|
- match: { indices.my_index.policy: "my_lifecycle" }
|
||||||
|
|
|
@ -4,7 +4,6 @@ setup:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: yellow
|
wait_for_status: yellow
|
||||||
- do:
|
- do:
|
||||||
acknowlege: true
|
|
||||||
ilm.put_lifecycle:
|
ilm.put_lifecycle:
|
||||||
policy: "my_moveable_timeseries_lifecycle"
|
policy: "my_moveable_timeseries_lifecycle"
|
||||||
body: |
|
body: |
|
||||||
|
@ -28,7 +27,6 @@ setup:
|
||||||
}
|
}
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.get_lifecycle:
|
ilm.get_lifecycle:
|
||||||
policy: "my_moveable_timeseries_lifecycle"
|
policy: "my_moveable_timeseries_lifecycle"
|
||||||
|
|
||||||
|
@ -67,29 +65,23 @@ setup:
|
||||||
teardown:
|
teardown:
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: my_index
|
index: my_index
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: my_index2
|
index: my_index2
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: another_index
|
index: another_index
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: unmanaged_index
|
index: unmanaged_index
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: my_index_no_policy
|
index: my_index_no_policy
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.delete_lifecycle:
|
ilm.delete_lifecycle:
|
||||||
policy: "my_moveable_timeseries_lifecycle"
|
policy: "my_moveable_timeseries_lifecycle"
|
||||||
|
|
||||||
|
@ -102,7 +94,6 @@ teardown:
|
||||||
"Test Basic Lifecycle Explain":
|
"Test Basic Lifecycle Explain":
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.explain_lifecycle:
|
ilm.explain_lifecycle:
|
||||||
index: "my_index"
|
index: "my_index"
|
||||||
|
|
||||||
|
@ -125,7 +116,6 @@ teardown:
|
||||||
"Test Wildcard Index Lifecycle Explain":
|
"Test Wildcard Index Lifecycle Explain":
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.explain_lifecycle:
|
ilm.explain_lifecycle:
|
||||||
index: "my_*"
|
index: "my_*"
|
||||||
|
|
||||||
|
@ -159,7 +149,6 @@ teardown:
|
||||||
"Test All Indexes Lifecycle Explain":
|
"Test All Indexes Lifecycle Explain":
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.explain_lifecycle:
|
ilm.explain_lifecycle:
|
||||||
index: "*"
|
index: "*"
|
||||||
|
|
||||||
|
@ -209,7 +198,6 @@ teardown:
|
||||||
"Test Unmanaged Index Lifecycle Explain":
|
"Test Unmanaged Index Lifecycle Explain":
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.explain_lifecycle:
|
ilm.explain_lifecycle:
|
||||||
index: "unmanaged_index"
|
index: "unmanaged_index"
|
||||||
|
|
||||||
|
@ -230,7 +218,6 @@ teardown:
|
||||||
"Test new phase still has phase_time":
|
"Test new phase still has phase_time":
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowlege: true
|
|
||||||
ilm.put_lifecycle:
|
ilm.put_lifecycle:
|
||||||
policy: "mypolicy"
|
policy: "mypolicy"
|
||||||
body: |
|
body: |
|
||||||
|
@ -261,7 +248,6 @@ teardown:
|
||||||
index.lifecycle.name: "mypolicy"
|
index.lifecycle.name: "mypolicy"
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.explain_lifecycle:
|
ilm.explain_lifecycle:
|
||||||
index: "foo"
|
index: "foo"
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,6 @@ setup:
|
||||||
- match: { operation_mode: "RUNNING" }
|
- match: { operation_mode: "RUNNING" }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowlege: true
|
|
||||||
ilm.put_lifecycle:
|
ilm.put_lifecycle:
|
||||||
policy: "my_timeseries_lifecycle"
|
policy: "my_timeseries_lifecycle"
|
||||||
body: |
|
body: |
|
||||||
|
@ -41,7 +40,6 @@ setup:
|
||||||
- match: { operation_mode: "RUNNING" }
|
- match: { operation_mode: "RUNNING" }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.stop: {}
|
ilm.stop: {}
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
|
@ -49,7 +47,6 @@ setup:
|
||||||
- match: { operation_mode: /STOPP(ED|ING)/ }
|
- match: { operation_mode: /STOPP(ED|ING)/ }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.start: {}
|
ilm.start: {}
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
|
@ -57,7 +54,6 @@ setup:
|
||||||
- match: { operation_mode: "RUNNING" }
|
- match: { operation_mode: "RUNNING" }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.delete_lifecycle:
|
ilm.delete_lifecycle:
|
||||||
policy: "my_timeseries_lifecycle"
|
policy: "my_timeseries_lifecycle"
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@ setup:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: yellow
|
wait_for_status: yellow
|
||||||
- do:
|
- do:
|
||||||
acknowlege: true
|
|
||||||
ilm.put_lifecycle:
|
ilm.put_lifecycle:
|
||||||
policy: "my_moveable_timeseries_lifecycle"
|
policy: "my_moveable_timeseries_lifecycle"
|
||||||
body: |
|
body: |
|
||||||
|
@ -28,12 +27,10 @@ setup:
|
||||||
}
|
}
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.get_lifecycle:
|
ilm.get_lifecycle:
|
||||||
policy: "my_moveable_timeseries_lifecycle"
|
policy: "my_moveable_timeseries_lifecycle"
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowlege: true
|
|
||||||
ilm.put_lifecycle:
|
ilm.put_lifecycle:
|
||||||
policy: "my_alternative_timeseries_lifecycle"
|
policy: "my_alternative_timeseries_lifecycle"
|
||||||
body: |
|
body: |
|
||||||
|
@ -57,7 +54,6 @@ setup:
|
||||||
}
|
}
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.get_lifecycle:
|
ilm.get_lifecycle:
|
||||||
policy: "my_alternative_timeseries_lifecycle"
|
policy: "my_alternative_timeseries_lifecycle"
|
||||||
|
|
||||||
|
@ -96,29 +92,23 @@ setup:
|
||||||
teardown:
|
teardown:
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: my_index
|
index: my_index
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: my_index2
|
index: my_index2
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: another_index
|
index: another_index
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: unmanaged_index
|
index: unmanaged_index
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
indices.delete:
|
indices.delete:
|
||||||
index: my_index_no_policy
|
index: my_index_no_policy
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.delete_lifecycle:
|
ilm.delete_lifecycle:
|
||||||
policy: "my_moveable_timeseries_lifecycle"
|
policy: "my_moveable_timeseries_lifecycle"
|
||||||
|
|
||||||
|
@ -128,7 +118,6 @@ teardown:
|
||||||
policy: "my_moveable_timeseries_lifecycle"
|
policy: "my_moveable_timeseries_lifecycle"
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.delete_lifecycle:
|
ilm.delete_lifecycle:
|
||||||
policy: "my_alternative_timeseries_lifecycle"
|
policy: "my_alternative_timeseries_lifecycle"
|
||||||
|
|
||||||
|
@ -147,7 +136,6 @@ teardown:
|
||||||
- match: { another_index.settings.index.lifecycle.name: my_moveable_timeseries_lifecycle }
|
- match: { another_index.settings.index.lifecycle.name: my_moveable_timeseries_lifecycle }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.remove_policy:
|
ilm.remove_policy:
|
||||||
index: "another_index"
|
index: "another_index"
|
||||||
|
|
||||||
|
@ -171,7 +159,6 @@ teardown:
|
||||||
- match: { my_index2.settings.index.lifecycle.name: my_moveable_timeseries_lifecycle }
|
- match: { my_index2.settings.index.lifecycle.name: my_moveable_timeseries_lifecycle }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.remove_policy:
|
ilm.remove_policy:
|
||||||
index: "my_*"
|
index: "my_*"
|
||||||
|
|
||||||
|
@ -195,7 +182,6 @@ teardown:
|
||||||
- is_false: unmanaged_index.settings.index.lifecycle.name
|
- is_false: unmanaged_index.settings.index.lifecycle.name
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
acknowledge: true
|
|
||||||
ilm.remove_policy:
|
ilm.remove_policy:
|
||||||
index: "unmanaged_index"
|
index: "unmanaged_index"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue