You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by lj...@apache.org on 2018/09/18 15:22:07 UTC

incubator-ratis git commit: RATIS-319. Increase TestRaftServerJmx's timeout. Contributed by Josh Elser.

Repository: incubator-ratis
Updated Branches:
  refs/heads/master 357ba8293 -> 25d4a5915


RATIS-319. Increase TestRaftServerJmx's timeout. Contributed by Josh Elser.


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

Branch: refs/heads/master
Commit: 25d4a59151e6bdbd2cc90ee51e9c22c8bfed4b31
Parents: 357ba82
Author: Lokesh Jain <lj...@apache.org>
Authored: Tue Sep 18 20:51:33 2018 +0530
Committer: Lokesh Jain <lj...@apache.org>
Committed: Tue Sep 18 20:51:33 2018 +0530

----------------------------------------------------------------------
 .../java/org/apache/ratis/server/impl/TestRaftServerJmx.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/25d4a591/ratis-server/src/test/java/org/apache/ratis/server/impl/TestRaftServerJmx.java
----------------------------------------------------------------------
diff --git a/ratis-server/src/test/java/org/apache/ratis/server/impl/TestRaftServerJmx.java b/ratis-server/src/test/java/org/apache/ratis/server/impl/TestRaftServerJmx.java
index 8ec420c..f060645 100644
--- a/ratis-server/src/test/java/org/apache/ratis/server/impl/TestRaftServerJmx.java
+++ b/ratis-server/src/test/java/org/apache/ratis/server/impl/TestRaftServerJmx.java
@@ -38,7 +38,7 @@ import java.util.Set;
 import static org.apache.ratis.RaftTestUtil.waitForLeader;
 
 public class TestRaftServerJmx extends BaseTest {
-  @Test(timeout = 10000)
+  @Test(timeout = 30000)
   public void testJmxBeans() throws Exception {
     final int NUM_SERVERS = 3;
     final MiniRaftClusterWithSimulatedRpc cluster
@@ -57,7 +57,7 @@ public class TestRaftServerJmx extends BaseTest {
     cluster.shutdown();
   }
 
-  @Test(timeout = 10000)
+  @Test(timeout = 30000)
   public void testRegister() throws JMException {
     {
       final JmxRegister jmx = new JmxRegister();