Feature state indices are added to the snapshot implicitly even if they are not listed int the indices field. This change is disabling features explicitly to avoid .tasks index in the snashpot.
@@ -34,6 +34,7 @@ setup:
wait_for_completion: true
body:
indices: "test_index"
+ feature_states: ["none"]
- match: { snapshot.snapshot: test_snapshot_1 }
- match: { snapshot.state : SUCCESS }
@@ -102,7 +102,8 @@ teardown:
snapshot: test_restore_tsdb
- indices: test_index
+ indices: "test_index"
- match: { snapshot.snapshot: test_restore_tsdb }