HBASE-18627 Fix TestRegionServerReadRequestMetrics (Chia-Ping Tsai)

This commit is contained in:
Michael Stack 2017-08-21 15:38:15 -07:00
parent 61b2508f29
commit 55ba5d0707
1 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,8 @@ public class TestRegionServerReadRequestMetrics {
@BeforeClass
public static void setUpOnce() throws Exception {
// Default starts one regionserver only.
TEST_UTIL.getConfiguration().setBoolean(LoadBalancer.TABLES_ON_MASTER, true);
TEST_UTIL.getConfiguration().setBoolean(LoadBalancer.SYSTEM_TABLES_ON_MASTER, true);
TEST_UTIL.startMiniCluster();
admin = TEST_UTIL.getAdmin();
serverNames = admin.getClusterStatus().getServers();