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:
parent
b3c27a7fdd
commit
a512ab32fb
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue