HBASE-19514 TestJMXListener now uses random port

Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
This commit is contained in:
tedyu 2017-12-22 18:40:03 +01:00 committed by Jan Hentschel
parent f547f6e7de
commit 64d2ebf9f3
1 changed files with 1 additions and 1 deletions

View File

@ -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 {