YARN-2462. TestNodeManagerResync#testBlockNewContainerRequestsOnStartAndResync should have a test timeout. Contributed by Eric Payne

This commit is contained in:
Jason Lowe 2014-08-29 20:07:06 +00:00
parent 7eab2a29a5
commit b03653f9a5
2 changed files with 4 additions and 1 deletions

View File

@ -260,6 +260,9 @@ Release 2.6.0 - UNRELEASED
YARN-2447. RM web service app submission doesn't pass secrets correctly. YARN-2447. RM web service app submission doesn't pass secrets correctly.
(Varun Vasudev via jianhe) (Varun Vasudev via jianhe)
YARN-2462. TestNodeManagerResync#testBlockNewContainerRequestsOnStartAndResync
should have a test timeout (Eric Payne via jlowe)
Release 2.5.1 - UNRELEASED Release 2.5.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -159,7 +159,7 @@ protected void testContainerPreservationOnResyncImpl(TestNodeManager1 nm,
// This test tests new container requests are blocked when NM starts from // This test tests new container requests are blocked when NM starts from
// scratch until it register with RM AND while NM is resyncing with RM // scratch until it register with RM AND while NM is resyncing with RM
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Test @Test(timeout=60000)
public void testBlockNewContainerRequestsOnStartAndResync() public void testBlockNewContainerRequestsOnStartAndResync()
throws IOException, InterruptedException, YarnException { throws IOException, InterruptedException, YarnException {
NodeManager nm = new TestNodeManager2(); NodeManager nm = new TestNodeManager2();