Russole commented on code in PR #11534:
URL: https://github.com/apache/ozone/pull/11534#discussion_r4283317870


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestOmSCMNodesReconfiguration.java:
##########
@@ -72,10 +76,31 @@ public void init() throws Exception {
         .setNumOfOzoneManagers(1)
         .build();
     cluster.waitForClusterToBeReady();
+
+    scmNodesConfigKey =
+        ConfUtils.addKeySuffixes(OZONE_SCM_NODES_KEY, scmServiceId);

Review Comment:
   Good point, fixed.



##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestOmSCMNodesReconfiguration.java:
##########
@@ -58,11 +59,14 @@
 @Timeout(300)
 public class TestOmSCMNodesReconfiguration {
 
-  private MiniOzoneHAClusterImpl cluster = null;
-  private String scmServiceId;
+  private static MiniOzoneHAClusterImpl cluster;
+  private static String scmServiceId;
+  private static String scmNodesConfigKey;
+  private static String initialScmNodes;
+  private static final Map<String, String> INITIAL_SCM_ADDRESSES = new 
HashMap<>();
 
-  @BeforeEach
-  public void init() throws Exception {
+  @BeforeAll
+  public static void init() throws Exception {

Review Comment:
   Thanks, updated.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to