YARN-5343. TestContinuousScheduling#testSortedNodes fails intermittently. (Yufei Gu via kasha)
This commit is contained in:
parent
9c6a4383ca
commit
7992c0b42c
@ -167,8 +167,8 @@ public void testSortedNodes() throws Exception {
|
||||
Assert.assertEquals(2, nodes.size());
|
||||
}
|
||||
|
||||
private void triggerSchedulingAttempt() {
|
||||
mockClock.tickMsec(
|
||||
private void triggerSchedulingAttempt() throws InterruptedException {
|
||||
Thread.sleep(
|
||||
2 * scheduler.getConf().getContinuousSchedulingSleepMs());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user