Increase time out tolerance in NoMasterNodeIT.

see https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-intake/746/console
This commit is contained in:
Boaz Leskes 2017-02-08 08:50:26 +02:00
parent b3c27a7fdd
commit a512ab32fb
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ public class NoMasterNodeIT extends ESIntegTestCase {
assertThat(e.status(), equalTo(RestStatus.SERVICE_UNAVAILABLE));
} else {
// timeout is 5000
assertThat(System.currentTimeMillis() - now, lessThan(timeout.millis() + 50));
assertThat(System.currentTimeMillis() - now, lessThan(timeout.millis() + 300));
}
}
}