HADOOP-10171. TestRPC fails intermittently on jkd7 (Mit Desai via jeagles)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1552033 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9c2534506f
commit
a875bcb2da
|
@ -188,6 +188,8 @@ Release 2.4.0 - UNRELEASED
|
||||||
HADOOP-9611 mvn-rpmbuild against google-guice > 3.0 yields missing cglib
|
HADOOP-9611 mvn-rpmbuild against google-guice > 3.0 yields missing cglib
|
||||||
dependency (Timothy St. Clair via stevel)
|
dependency (Timothy St. Clair via stevel)
|
||||||
|
|
||||||
|
HADOOP-10171. TestRPC fails intermittently on jkd7 (Mit Desai via jeagles)
|
||||||
|
|
||||||
Release 2.3.0 - UNRELEASED
|
Release 2.3.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -864,6 +864,8 @@ public class TestRPC {
|
||||||
}
|
}
|
||||||
// clear interrupt status for future tests
|
// clear interrupt status for future tests
|
||||||
Thread.interrupted();
|
Thread.interrupted();
|
||||||
|
} finally {
|
||||||
|
server.stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -929,6 +931,7 @@ public class TestRPC {
|
||||||
|
|
||||||
// should not cause any other thread to get an error
|
// should not cause any other thread to get an error
|
||||||
assertTrue("rpc got exception " + error.get(), error.get() == null);
|
assertTrue("rpc got exception " + error.get(), error.get() == null);
|
||||||
|
server.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -950,6 +953,7 @@ public class TestRPC {
|
||||||
proxy.sleep(pingInterval*4);
|
proxy.sleep(pingInterval*4);
|
||||||
} finally {
|
} finally {
|
||||||
if (proxy != null) RPC.stopProxy(proxy);
|
if (proxy != null) RPC.stopProxy(proxy);
|
||||||
|
server.stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue