You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by we...@apache.org on 2015/11/04 18:41:46 UTC

incubator-reef git commit: [REEF-905] Increase timeout for GroupCommunicationMessageCodecTest

Repository: incubator-reef
Updated Branches:
  refs/heads/master 70331278f -> e426de4be


[REEF-905] Increase timeout for GroupCommunicationMessageCodecTest

This PR increases the timeout of two testcases from 100ms to 1000ms
in order to prevent failures on slow machines.

JIRA:
  [REEF-905](https://issues.apache.org/jira/browse/REEF-905)

Pull Request:
  This closes #610


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

Branch: refs/heads/master
Commit: e426de4be7ed57dffa4b2eb8fc1b4ce4252328f9
Parents: 7033127
Author: Dongjoon Hyun <do...@apache.org>
Authored: Thu Nov 5 01:21:33 2015 +0900
Committer: Markus Weimer <we...@apache.org>
Committed: Wed Nov 4 09:00:21 2015 -0800

----------------------------------------------------------------------
 .../io/network/group/GroupCommunicationMessageCodecTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/e426de4b/lang/java/reef-io/src/test/java/org/apache/reef/io/network/group/GroupCommunicationMessageCodecTest.java
----------------------------------------------------------------------
diff --git a/lang/java/reef-io/src/test/java/org/apache/reef/io/network/group/GroupCommunicationMessageCodecTest.java b/lang/java/reef-io/src/test/java/org/apache/reef/io/network/group/GroupCommunicationMessageCodecTest.java
index e41ab8c..2989da4 100644
--- a/lang/java/reef-io/src/test/java/org/apache/reef/io/network/group/GroupCommunicationMessageCodecTest.java
+++ b/lang/java/reef-io/src/test/java/org/apache/reef/io/network/group/GroupCommunicationMessageCodecTest.java
@@ -48,14 +48,14 @@ public class GroupCommunicationMessageCodecTest {
   class OperName implements Name<String> {
   }
 
-  @Test(timeout = 100)
+  @Test(timeout = 1000)
   public final void testInstantiation() throws InjectionException {
     final GroupCommunicationMessageCodec codec =
         Tang.Factory.getTang().newInjector().getInstance(GroupCommunicationMessageCodec.class);
     Assert.assertNotNull("tang.getInstance(GroupCommunicationMessageCodec.class): ", codec);
   }
 
-  @Test(timeout = 100)
+  @Test(timeout = 1000)
   public final void testEncodeDecode() {
     final Random r = new Random();
     final byte[] data = new byte[100];