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:
jaymode 2015-12-04 14:18:07 -05:00
parent a039acf578
commit 8e5b5688f5
13 changed files with 13 additions and 13 deletions

View File

@ -2,7 +2,7 @@
"Basic array_compare watch":
- do:
cluster.health:
wait_for_status: green
wait_for_status: yellow
- do: {watcher.stats:{}}

View File

@ -2,7 +2,7 @@
"Test delete watch api":
- do:
cluster.health:
wait_for_status: green
wait_for_status: yellow
- do:
watcher.put_watch:

View File

@ -2,7 +2,7 @@
"Test get watch api":
- do:
cluster.health:
wait_for_status: green
wait_for_status: yellow
- do:
watcher.put_watch:

View File

@ -2,7 +2,7 @@
"Test get watch api with missing watch":
- do:
cluster.health:
wait_for_status: green
wait_for_status: yellow
- do:

View File

@ -2,7 +2,7 @@
"Getting started - Monitor cluster health":
- do:
cluster.health:
wait_for_status: green
wait_for_status: yellow
- do: {watcher.stats:{}}

View File

@ -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/

View File

@ -2,7 +2,7 @@
"Test put watch api":
- do:
cluster.health:
wait_for_status: green
wait_for_status: yellow
- do:
watcher.put_watch:

View File

@ -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:

View File

@ -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:

View File

@ -2,7 +2,7 @@
"Test put inactive watch":
- do:
cluster.health:
wait_for_status: green
wait_for_status: yellow
- do:
watcher.put_watch:

View File

@ -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 }

View File

@ -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 }

View File

@ -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 }