HBASE-27714 WALEntryStreamTestBase creates a new HBTU in startCluster method which causes all sub classes are testing default configurations (#5101)

Signed-off-by: Guanghao Zhang <zghao@apache.org>
(cherry picked from commit ce7b1d4e4ff2b5456c8655558378a127f3274107)
This commit is contained in:
Duo Zhang 2023-03-15 10:39:33 +08:00
parent becbc3f8b2
commit ffff78a00d

View File

@ -125,7 +125,6 @@ public abstract class WALEntryStreamTestBase {
protected final MultiVersionConcurrencyControl mvcc = new MultiVersionConcurrencyControl(); protected final MultiVersionConcurrencyControl mvcc = new MultiVersionConcurrencyControl();
protected static void startCluster() throws Exception { protected static void startCluster() throws Exception {
TEST_UTIL = new HBaseTestingUtility();
CONF = TEST_UTIL.getConfiguration(); CONF = TEST_UTIL.getConfiguration();
CONF.setLong("replication.source.sleepforretries", 10); CONF.setLong("replication.source.sleepforretries", 10);
TEST_UTIL.startMiniDFSCluster(3); TEST_UTIL.startMiniDFSCluster(3);