HADOOP-14320. TestIPC.testIpcWithReaderQueuing fails intermittently. 
Contributed by Eric Badger.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b8d1d365
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b8d1d365
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b8d1d365

Branch: refs/heads/HDFS-10467
Commit: b8d1d3658694855331d165804a578144a703bbf9
Parents: 7b05bdd
Author: Eric Payne <[email protected]>
Authored: Fri Apr 28 14:45:26 2017 -0500
Committer: Inigo <[email protected]>
Committed: Tue May 2 14:52:05 2017 -0700

----------------------------------------------------------------------
 .../hadoop-common/src/test/java/org/apache/hadoop/ipc/TestIPC.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/b8d1d365/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestIPC.java
----------------------------------------------------------------------
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 6fb3511..4198e40 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 class TestIPC {
       }
       // 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.<Call>anyObject());
+      verify(spy, timeout(5000).times(i + 1)).put(Mockito.<Call>anyObject());
     }
 
     try {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to