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":
|
"Basic array_compare watch":
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: green
|
wait_for_status: yellow
|
||||||
|
|
||||||
|
|
||||||
- do: {watcher.stats:{}}
|
- do: {watcher.stats:{}}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"Test delete watch api":
|
"Test delete watch api":
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: green
|
wait_for_status: yellow
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
watcher.put_watch:
|
watcher.put_watch:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"Test get watch api":
|
"Test get watch api":
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: green
|
wait_for_status: yellow
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
watcher.put_watch:
|
watcher.put_watch:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"Test get watch api with missing watch":
|
"Test get watch api with missing watch":
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: green
|
wait_for_status: yellow
|
||||||
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"Getting started - Monitor cluster health":
|
"Getting started - Monitor cluster health":
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: green
|
wait_for_status: yellow
|
||||||
|
|
||||||
|
|
||||||
- do: {watcher.stats:{}}
|
- do: {watcher.stats:{}}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"Test Hijack and Block Direct Access to Internal Indices":
|
"Test Hijack and Block Direct Access to Internal Indices":
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: green
|
wait_for_status: yellow
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
catch: /not supported/
|
catch: /not supported/
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"Test put watch api":
|
"Test put watch api":
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: green
|
wait_for_status: yellow
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
watcher.put_watch:
|
watcher.put_watch:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"Test put watch api with watch level throttle":
|
"Test put watch api with watch level throttle":
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: green
|
wait_for_status: yellow
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
watcher.put_watch:
|
watcher.put_watch:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"Test put watch api with action level throttle period":
|
"Test put watch api with action level throttle period":
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: green
|
wait_for_status: yellow
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
watcher.put_watch:
|
watcher.put_watch:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"Test put inactive watch":
|
"Test put inactive watch":
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: green
|
wait_for_status: yellow
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
watcher.put_watch:
|
watcher.put_watch:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"Test restart watcher api":
|
"Test restart watcher api":
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: green
|
wait_for_status: yellow
|
||||||
|
|
||||||
- do: {watcher.restart: {}}
|
- do: {watcher.restart: {}}
|
||||||
- match: { acknowledged: true }
|
- match: { acknowledged: true }
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"Test start watcher api":
|
"Test start watcher api":
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: green
|
wait_for_status: yellow
|
||||||
|
|
||||||
- do: {watcher.start: {}}
|
- do: {watcher.start: {}}
|
||||||
- match: { acknowledged: true }
|
- match: { acknowledged: true }
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"Test stop watcher api":
|
"Test stop watcher api":
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: green
|
wait_for_status: yellow
|
||||||
|
|
||||||
- do: {watcher.stop: {}}
|
- do: {watcher.stop: {}}
|
||||||
- match: { acknowledged: true }
|
- match: { acknowledged: true }
|
||||||
|
|
Loading…
Reference in New Issue