HADOOP-12440. TestRPC#testRPCServerShutdown did not produce the desired thread states before shutting down. (Xiao Chen via mingma)
(cherry picked from commit 5c3b663bf9
)
This commit is contained in:
parent
22f2501476
commit
ac7d85efb2
|
@ -590,6 +590,9 @@ Release 2.8.0 - UNRELEASED
|
|||
HADOOP-11918. Listing an empty s3a root directory throws FileNotFound.
|
||||
(Lei (Eddy) Xu via cnauroth)
|
||||
|
||||
HADOOP-12440. TestRPC#testRPCServerShutdown did not produce the desired
|
||||
thread states before shutting down. (Xiao Chen via mingma)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HADOOP-12051. ProtobufRpcEngine.invoke() should use Exception.toString()
|
||||
|
|
|
@ -1056,8 +1056,8 @@ public class TestRPC {
|
|||
}));
|
||||
}
|
||||
while (server.getCallQueueLen() != 1
|
||||
&& countThreads(CallQueueManager.class.getName()) != 1
|
||||
&& countThreads(TestProtocol.class.getName()) != 1) {
|
||||
|| countThreads(CallQueueManager.class.getName()) != 1
|
||||
|| countThreads(TestImpl.class.getName()) != 1) {
|
||||
Thread.sleep(100);
|
||||
}
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue