Tests: Ignore existing watches index in REST test
This test should ensure, that a missing watch on an existing index causes an error, thus it can ignore if the .watches index already exists. relates elastic/x-pack-elasticsearch#1155 Original commit: elastic/x-pack-elasticsearch@89c56cb2be
This commit is contained in:
parent
50241717d3
commit
ff6283bf80
|
@ -4,9 +4,12 @@
|
|||
cluster.health:
|
||||
wait_for_status: yellow
|
||||
|
||||
# ensure index exists, but ignore if it does already
|
||||
# this test should ensure the watch is missing, while the index is there
|
||||
- do:
|
||||
indices.create:
|
||||
index: .watches
|
||||
ignore: 400
|
||||
|
||||
- do:
|
||||
catch: missing
|
||||
|
|
Loading…
Reference in New Issue