From 5856cbcd0e450e9d5789f4140f15331a1df7a0d0 Mon Sep 17 00:00:00 2001 From: Xiaxuan Gao Date: Thu, 2 Nov 2023 17:41:58 -0700 Subject: [PATCH] minor change to remove RestConfig in test --- .../java/org/apache/helix/rest/server/AbstractTestClass.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/helix-rest/src/test/java/org/apache/helix/rest/server/AbstractTestClass.java b/helix-rest/src/test/java/org/apache/helix/rest/server/AbstractTestClass.java index 68561ce839..6b357a384e 100644 --- a/helix-rest/src/test/java/org/apache/helix/rest/server/AbstractTestClass.java +++ b/helix-rest/src/test/java/org/apache/helix/rest/server/AbstractTestClass.java @@ -621,8 +621,6 @@ private void preSetupForCrosszoneParallelInstancesStoppableTest(String clusterNa clusterConfig.setFaultZoneType("helixZoneId"); clusterConfig.setPersistIntermediateAssignment(true); _configAccessor.setClusterConfig(clusterName, clusterConfig); - RESTConfig emptyRestConfig = new RESTConfig(clusterName); - _configAccessor.setRESTConfig(clusterName, emptyRestConfig); // Create instance configs List instanceConfigs = new ArrayList<>(); int perZoneInstancesCount = 3;