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/6fe11f61 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/6fe11f61 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/6fe11f61 Branch: refs/heads/HDFS-10467 Commit: 6fe11f61556407f8efb9b376623cd61609a40d5f Parents: 68e45f5 Author: Eric Payne <[email protected]> Authored: Fri Apr 28 14:45:26 2017 -0500 Committer: Eric Payne <[email protected]> Committed: Fri Apr 28 14:45:26 2017 -0500 ---------------------------------------------------------------------- .../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/6fe11f61/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]
