hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject hbase git commit: HBASE-19514 TestJMXListener now uses random port
Date Fri, 22 Dec 2017 17:54:34 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 f547f6e7d -> 64d2ebf9f


HBASE-19514 TestJMXListener now uses random port

Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>


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

Branch: refs/heads/branch-1
Commit: 64d2ebf9f39762f69e7da8227213bb1699dd9fb6
Parents: f547f6e
Author: tedyu <yuzhihong@gmail.com>
Authored: Fri Dec 22 18:40:03 2017 +0100
Committer: Jan Hentschel <jan.hentschel@ultratendency.com>
Committed: Fri Dec 22 18:51:44 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/64d2ebf9/hbase-server/src/test/java/org/apache/hadoop/hbase/TestJMXListener.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/TestJMXListener.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/TestJMXListener.java
index 8bb5869..9079739 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/TestJMXListener.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/TestJMXListener.java
@@ -45,7 +45,7 @@ import org.junit.rules.ExpectedException;
 public class TestJMXListener {
   private static final Log LOG = LogFactory.getLog(TestJMXListener.class);
   private static HBaseTestingUtility UTIL = new HBaseTestingUtility();
-  private static int connectorPort = 61120;
+  private static int connectorPort = UTIL.randomFreePort();
 
   @BeforeClass
   public static void setupBeforeClass() throws Exception {


Mime
View raw message