Index: src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java =================================================================== --- src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java (revision 955042) +++ src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java (working copy) @@ -51,7 +51,7 @@ private final static HBaseTestingUtility TEST_UTIL = new HBaseTestingUtility(); - private Configuration conf; + private static Configuration conf; /** * @throws java.lang.Exception @@ -61,7 +61,8 @@ // Test we can first start the ZK cluster by itself TEST_UTIL.startMiniZKCluster(); TEST_UTIL.getConfiguration().setBoolean("dfs.support.append", true); - TEST_UTIL.startMiniCluster(1); + TEST_UTIL.startMiniCluster(2); + conf = TEST_UTIL.getConfiguration(); } /** @@ -77,7 +78,7 @@ */ @Before public void setUp() throws Exception { - conf = TEST_UTIL.getConfiguration(); + TEST_UTIL.ensureSomeRegionServersAvailable(2); } /**