diff --git a/test/integration/index.js b/test/integration/index.js index 2d7dac0eb..ad4528ed4 100644 --- a/test/integration/index.js +++ b/test/integration/index.js @@ -128,7 +128,7 @@ function Runner (opts) { Runner.prototype.waitCluster = function (callback, times = 0) { this.log.text = 'Waiting for ElasticSearch' this.client.cluster.health( - { waitForStatus: 'yellow', timeout: '50s' }, + { waitForStatus: 'green', timeout: '50s' }, (err, res) => { if (++times < 10) { setTimeout(() => {