test: change watcher rest tests to wait for yellow
Since we combined all of the plugins marvel will also be enabled and will cause the cluster to never get to a green state since we only have a single node. Original commit: elastic/x-pack-elasticsearch@60fbfa97f1
This commit is contained in:
parent
a039acf578
commit
8e5b5688f5
|
@ -2,7 +2,7 @@
|
|||
"Basic array_compare watch":
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
wait_for_status: yellow
|
||||
|
||||
|
||||
- do: {watcher.stats:{}}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"Test delete watch api":
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
wait_for_status: yellow
|
||||
|
||||
- do:
|
||||
watcher.put_watch:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"Test get watch api":
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
wait_for_status: yellow
|
||||
|
||||
- do:
|
||||
watcher.put_watch:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"Test get watch api with missing watch":
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
wait_for_status: yellow
|
||||
|
||||
|
||||
- do:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"Getting started - Monitor cluster health":
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
wait_for_status: yellow
|
||||
|
||||
|
||||
- do: {watcher.stats:{}}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"Test Hijack and Block Direct Access to Internal Indices":
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
wait_for_status: yellow
|
||||
|
||||
- do:
|
||||
catch: /not supported/
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"Test put watch api":
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
wait_for_status: yellow
|
||||
|
||||
- do:
|
||||
watcher.put_watch:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"Test put watch api with watch level throttle":
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
wait_for_status: yellow
|
||||
|
||||
- do:
|
||||
watcher.put_watch:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"Test put watch api with action level throttle period":
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
wait_for_status: yellow
|
||||
|
||||
- do:
|
||||
watcher.put_watch:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"Test put inactive watch":
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
wait_for_status: yellow
|
||||
|
||||
- do:
|
||||
watcher.put_watch:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"Test restart watcher api":
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
wait_for_status: yellow
|
||||
|
||||
- do: {watcher.restart: {}}
|
||||
- match: { acknowledged: true }
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"Test start watcher api":
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
wait_for_status: yellow
|
||||
|
||||
- do: {watcher.start: {}}
|
||||
- match: { acknowledged: true }
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"Test stop watcher api":
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
wait_for_status: yellow
|
||||
|
||||
- do: {watcher.stop: {}}
|
||||
- match: { acknowledged: true }
|
||||
|
|
Loading…
Reference in New Issue