Browse Source

only verify both nodes join the cluster

Simon Willnauer 10 years ago
parent
commit
3eee8b387e

+ 2 - 10
qa/smoke-test-multinode/rest-api-spec/test/smoke_test_multinode/10_basic.yaml

@@ -2,18 +2,10 @@
 # If the local machine which is running the test is low on disk space
 # We can have one unassigned shard
 ---
-"cluster health basic test, one index":
-  - do:
-      indices.create:
-        index: test_index
-        body:
-          settings:
-            index:
-              number_of_replicas: 1
-
+"cluster health basic test, wait for both nodes to join":
   - do:
       cluster.health:
-        wait_for_status: yellow
+        wait_for_nodes: 2
 
   - is_true:   cluster_name
   - is_false:  timed_out