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": "Basic array_compare watch":
- do: - do:
cluster.health: cluster.health:
wait_for_status: green wait_for_status: yellow
- do: {watcher.stats:{}} - do: {watcher.stats:{}}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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