HBASE-2676. TestInfoServers should use ephemeral ports
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@951935 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3181d96ec8
commit
304464ee06
|
@ -376,6 +376,7 @@ Release 0.21.0 - Unreleased
|
|||
HBASE-2667 TestHLog.testSplit failing in trunk (Cosmin and Stack)
|
||||
HBASE-2614 killing server in TestMasterTransitions causes NPEs and test deadlock
|
||||
HBASE-2615 M/R on bulk imported tables
|
||||
HBASE-2676 TestInfoServers should use ephemeral ports
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1760 Cleanup TODOs in HTable
|
||||
|
|
|
@ -36,10 +36,10 @@ public class TestInfoServers extends HBaseClusterTestCase {
|
|||
|
||||
@Override
|
||||
protected void preHBaseClusterSetup() {
|
||||
// Bring up info servers on 'odd' port numbers in case the test is not
|
||||
// sourcing the src/test/hbase-default.xml.
|
||||
conf.setInt("hbase.master.info.port", 60011);
|
||||
conf.setInt("hbase.regionserver.info.port", 60031);
|
||||
// The info servers do not run in tests by default.
|
||||
// Set them to ephemeral ports so they will start
|
||||
conf.setInt("hbase.master.info.port", 0);
|
||||
conf.setInt("hbase.regionserver.info.port", 0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -73,4 +73,4 @@ public class TestInfoServers extends HBaseClusterTestCase {
|
|||
String content = sb.toString();
|
||||
assertTrue(content.contains(expected));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue