HBASE-19514 TestJMXListener now uses random port
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
This commit is contained in:
parent
8ed3d4b9cb
commit
c0c802f62b
|
@ -46,7 +46,7 @@ import org.slf4j.LoggerFactory;
|
||||||
public class TestJMXListener {
|
public class TestJMXListener {
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(TestJMXListener.class);
|
private static final Logger LOG = LoggerFactory.getLogger(TestJMXListener.class);
|
||||||
private static HBaseTestingUtility UTIL = new HBaseTestingUtility();
|
private static HBaseTestingUtility UTIL = new HBaseTestingUtility();
|
||||||
private static int connectorPort = 61120;
|
private static int connectorPort = UTIL.randomFreePort();
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void setupBeforeClass() throws Exception {
|
public static void setupBeforeClass() throws Exception {
|
||||||
|
|
Loading…
Reference in New Issue