mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
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…
x
Reference in New Issue
Block a user