MAPREDUCE-3304. Fixed intermittent test failure due to a race in TestRMContainerAllocator#testBlackListedNodes. Contributed by Ravi Prakash.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1190495 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9692cfc9ae
commit
b93abdcd66
|
@ -1850,6 +1850,9 @@ Release 0.23.0 - Unreleased
|
|||
MAPREDUCE-2775. Fixed ResourceManager and NodeManager to force a
|
||||
decommissioned node to shutdown. (Devaraj K via vinodkv)
|
||||
|
||||
MAPREDUCE-3304. Fixed intermittent test failure due to a race in
|
||||
TestRMContainerAllocator#testBlackListedNodes. (Ravi Prakash via acmurthy)
|
||||
|
||||
Release 0.22.0 - Unreleased
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -567,6 +567,7 @@ public class TestRMContainerAllocator {
|
|||
Assert.assertEquals("No of assignments must be 0", 0, assigned.size());
|
||||
|
||||
nodeManager3.nodeHeartbeat(true); // Node heartbeat
|
||||
dispatcher.await();
|
||||
assigned = allocator.schedule();
|
||||
dispatcher.await();
|
||||
|
||||
|
|
Loading…
Reference in New Issue