YARN-6536. TestAMRMClient.testAMRMClientWithSaslEncryption fails intermittently. Contributed by Jason Lowe.

This commit is contained in:
Eric Payne 2017-04-28 15:20:35 -05:00
parent 6fe11f6155
commit fdf5192bbb

View File

@ -1208,7 +1208,7 @@ private void testAllocation(final AMRMClientImpl<ContainerRequest> amClient)
&& receivedNMTokens.size() <= nodeCount);
assertEquals(allocatedContainerCount, containersRequestedAny);
assertEquals(2, amClient.release.size());
assertEquals(2, releases.size());
assertEquals(0, amClient.ask.size());
// need to tell the AMRMClient that we dont need these resources anymore