Browse Source

Wait for green in mlt tests

Simon Willnauer 11 years ago
parent
commit
f9c19dba56
1 changed files with 4 additions and 0 deletions
  1. 4 0
      rest-api-spec/test/mlt/10_basic.yaml

+ 4 - 0
rest-api-spec/test/mlt/10_basic.yaml

@@ -10,6 +10,10 @@
   - do:
       indices.refresh: {}
 
+  - do:
+      cluster.health:
+           wait_for_status: green
+           timeout: 1s   
   - do:
       mlt:
           index:  test_1