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 18:04:45 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.2 65da4ed28 -> a3e32c49b


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/a3e32c49
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a3e32c49
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a3e32c49

Branch: refs/heads/branch-1.2
Commit: a3e32c49b382825cd046b437e6198629b205e92b
Parents: 65da4ed
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 19:01:27 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/a3e32c49/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 af602a5..f21250d 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
@@ -43,7 +43,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