YARN-9491. TestApplicationMasterServiceFair#ApplicationMasterServiceTestBase.testUpdateTrackingUrl fails intermittent. Contributed by Prabhu Joseph.
This commit is contained in:
parent
c504eee0c2
commit
4a0ba24959
@ -464,6 +464,10 @@ public void testUpdateTrackingUrl() throws Exception {
|
||||
allocateRequest.setTrackingUrl(newTrackingUrl);
|
||||
|
||||
am1.allocate(allocateRequest);
|
||||
|
||||
// wait until RMAppAttemptEventType.STATUS_UPDATE is handled
|
||||
rm.drainEvents();
|
||||
|
||||
Assert.assertEquals(newTrackingUrl, rm.getRMContext().getRMApps().get(
|
||||
app1.getApplicationId()).getOriginalTrackingUrl());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user