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 8ed3d4b9cb
commit c0c802f62b
1 changed files with 1 additions and 1 deletions

View File

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