浏览代码

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

Eric Payne 8 年之前
父节点
当前提交
6fe11f6155
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestIPC.java

+ 1 - 1
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
       // wait until reader put a call to callQueue, to make sure all readers
       // are blocking on the queue after initialClients threads are started.
       // 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 {
     try {