YARN-9462. TestResourceTrackerService.testNodeRemovalGracefully fails sporadically. Contributed by Prabhu Joseph
This commit is contained in:
parent
c36fbcbf17
commit
bbdc39c13e
|
@ -2184,7 +2184,7 @@ public class TestResourceTrackerService extends NodeLabelTestBase {
|
|||
DEFAULT_RM_NODEMANAGER_UNTRACKED_REMOVAL_TIMEOUT_MSEC);
|
||||
int nodeRemovalInterval =
|
||||
rmContext.getNodesListManager().getNodeRemovalCheckInterval();
|
||||
long maxThreadSleeptime = nodeRemovalInterval + nodeRemovalTimeout;
|
||||
long maxThreadSleeptime = nodeRemovalInterval + nodeRemovalTimeout + 100;
|
||||
latch.await(maxThreadSleeptime, TimeUnit.MILLISECONDS);
|
||||
|
||||
rmNode = rmContext.getInactiveRMNodes().get(nm2.getNodeId());
|
||||
|
|
Loading…
Reference in New Issue