Skip to content

Commit

Permalink
Add a test of the minimum interval validation
Browse files Browse the repository at this point in the history
  • Loading branch information
joegallo committed Nov 3, 2020
1 parent b4d4cfc commit a931f11
Showing 1 changed file with 14 additions and 0 deletions.
Expand Up @@ -24,6 +24,20 @@ setup:
settings:
location: "my-snaps"

- do:
catch: bad_request
slm.put_lifecycle:
policy_id: "daily-snapshots"
body: |
{
"schedule": "0 * * * * ?",
"name": "<production-snap-{now/d}>",
"repository": "repo",
"config": {
"indices": ["*"]
}
}
- do:
slm.put_lifecycle:
policy_id: "daily-snapshots"
Expand Down

0 comments on commit a931f11

Please sign in to comment.