HBASE-6584 TestAssignmentManager#testDisablingTableRegionsAssignmentDuringCleanClusterStartup fails due to port 60000 already in use (Rajesh)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1376918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aedfe03b91
commit
2c59e2bba4
|
@ -823,6 +823,7 @@ public class TestAssignmentManager {
|
|||
destServers.add(SERVERNAME_A);
|
||||
Mockito.when(this.serverManager.createDestinationServersList()).thenReturn(destServers);
|
||||
// To avoid cast exception in DisableTableHandler process.
|
||||
HTU.getConfiguration().setInt(HConstants.MASTER_PORT, 0);
|
||||
Server server = new HMaster(HTU.getConfiguration());
|
||||
AssignmentManagerWithExtrasForTesting am = setUpMockedAssignmentManager(server,
|
||||
this.serverManager);
|
||||
|
|
Loading…
Reference in New Issue