Skip to content

Commit

Permalink
Verify initialization is not allowed with conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbauman committed Jun 19, 2024
1 parent eafbf32 commit 479315c
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,16 @@ teardown:

---
"Rolling over an uninitialized failure store should initialize it":
# Initializing with conditions is not allowed.
- do:
catch: /Rolling over\/initializing an empty failure store is only supported without conditions\./
indices.rollover:
alias: "data-stream-for-rollover"
target_failure_store: true
body:
conditions:
max_docs: 1

- do:
indices.rollover:
alias: "data-stream-for-rollover"
Expand Down

0 comments on commit 479315c

Please sign in to comment.