From 6fe11f61556407f8efb9b376623cd61609a40d5f Mon Sep 17 00:00:00 2001 From: Eric Payne Date: Fri, 28 Apr 2017 14:45:26 -0500 Subject: [PATCH] HADOOP-14320. TestIPC.testIpcWithReaderQueuing fails intermittently. Contributed by Eric Badger. --- .../src/test/java/org/apache/hadoop/ipc/TestIPC.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestIPC.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestIPC.java index 6fb3511b7f..4198e4040b 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestIPC.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestIPC.java @@ -807,7 +807,7 @@ public void run() { } // wait until reader put a call to callQueue, to make sure all readers // are blocking on the queue after initialClients threads are started. - verify(spy, timeout(100).times(i + 1)).put(Mockito.anyObject()); + verify(spy, timeout(5000).times(i + 1)).put(Mockito.anyObject()); } try {