YARN-9462. TestResourceTrackerService.testNodeRemovalGracefully fails sporadically. Contributed by Prabhu Joseph
This commit is contained in:
parent
57aad0f43a
commit
8b3ee2f7e9
|
@ -2210,7 +2210,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