Apache9 commented on code in PR #7063:
URL: https://github.com/apache/hbase/pull/7063#discussion_r2135833711


##########
hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestRestoreSnapshotHelper.java:
##########
@@ -107,6 +118,13 @@ public void setup() throws Exception {
     conf = TEST_UTIL.getConfiguration();
     setupConf(conf);
     CommonFSUtils.setRootDir(conf, rootDir);
+
+    resetProcExecutorTestingKillFlag();
+    
MasterProcedureTestingUtility.generateNonceGroup(TEST_UTIL.getHBaseCluster().getMaster());
+    
MasterProcedureTestingUtility.generateNonce(TEST_UTIL.getHBaseCluster().getMaster());
+    // Turn off balancer so it doesn't cut in and mess up our placements.
+    admin.balancerSwitch(false, true);
+    resetProcExecutorTestingKillFlag();

Review Comment:
   Why we need to reset the killFlag twice?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to