Skip to content

Commit

Permalink
Add more yaml test
Browse files Browse the repository at this point in the history
Signed-off-by: Gao Binlong <[email protected]>
  • Loading branch information
gaobinlong committed Jan 9, 2024
1 parent 069675f commit b6c3048
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@
aliases: [ testAlias* ]
must_exist: true

- do:
catch: /\[aliases\] can't be empty/
indices.update_aliases:
body:
actions:
- remove:
index: test_index
aliases: []
must_exist: true

---
"Throw aliases missing exception when all of the specified aliases are non-existing":
- skip:
Expand Down

0 comments on commit b6c3048

Please sign in to comment.