From c0c802f62b66a707c704bc945f951debbc57b691 Mon Sep 17 00:00:00 2001 From: tedyu Date: Fri, 22 Dec 2017 18:40:03 +0100 Subject: [PATCH] HBASE-19514 TestJMXListener now uses random port Signed-off-by: Jan Hentschel --- .../src/test/java/org/apache/hadoop/hbase/TestJMXListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 520294a8c93..4c7f129d795 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 @@ -46,7 +46,7 @@ import org.slf4j.LoggerFactory; public class TestJMXListener { private static final Logger LOG = LoggerFactory.getLogger(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 {