Updated test

This commit is contained in:
delvedor
2019-03-21 14:23:35 +01:00
parent 09346b6926
commit f6e3874a82

View File

@ -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(() => {