HBASE-19514 TestJMXListener now uses random port
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
This commit is contained in:
parent
f547f6e7de
commit
64d2ebf9f3
|
@ -45,7 +45,7 @@ import org.junit.rules.ExpectedException;
|
||||||
public class TestJMXListener {
|
public class TestJMXListener {
|
||||||
private static final Log LOG = LogFactory.getLog(TestJMXListener.class);
|
private static final Log LOG = LogFactory.getLog(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