Skip to content

Commit

Permalink
[apache/helix] -- Removed/Transformed SOUT statements
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshukandwal committed Dec 13, 2023
1 parent 45bab89 commit c62bd3b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ public class TestRoutingTableProviderPeriodicRefresh extends ZkTestBase {

@BeforeClass
public void beforeClass() throws Exception {
System.out
.println("START " + getShortClassName() + " at " + new Date(System.currentTimeMillis()));

// setup storage cluster
_gSetupTool.addCluster(CLUSTER_NAME, true);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ public void beforeClass() throws Exception {
String className = TestHelper.getTestClassName();
_clusterNamePrefix = className;

System.out
.println("START " + _clusterNamePrefix + " at " + new Date(System.currentTimeMillis()));

// setup 10 clusters
for (int i = 0; i < clusterNb; i++) {
String clusterName = _clusterNamePrefix + "0_" + i;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ public class TestRebalancerMetrics extends BaseStageTest {

@Test
public void testRecoveryRebalanceMetrics() {
System.out
.println("START testRecoveryRebalanceMetrics at " + new Date(System.currentTimeMillis()));
String resource = "testResourceName";

int numPartition = 100;
Expand Down Expand Up @@ -90,15 +88,10 @@ public void testRecoveryRebalanceMetrics() {
numPartition * numReplica - resourceMonitor.getNumPendingLoadRebalanceReplicas());
Assert.assertEquals(resourceMonitor.getNumRecoveryRebalanceThrottledReplicas(),
numPartition * numReplica - resourceMonitor.getNumPendingLoadRebalanceReplicas() - maxPending);

System.out
.println("END testRecoveryRebalanceMetrics at " + new Date(System.currentTimeMillis()));
}

@Test
public void testLoadBalanceMetrics() {
System.out
.println("START testLoadBalanceMetrics at " + new Date(System.currentTimeMillis()));
String resource = "testResourceName";

int numPartition = 100;
Expand Down Expand Up @@ -150,9 +143,6 @@ public void testLoadBalanceMetrics() {
long numPendingLoadBalance = resourceMonitor.getNumPendingLoadRebalanceReplicas();
Assert.assertTrue(numPendingLoadBalance > 0);
Assert.assertEquals(resourceMonitor.getNumLoadRebalanceThrottledReplicas(), numPendingLoadBalance - maxPending);

System.out
.println("END testLoadBalanceMetrics at " + new Date(System.currentTimeMillis()));
}

private void setupThrottleConfig(ClusterConfig clusterConfig,
Expand Down

0 comments on commit c62bd3b

Please sign in to comment.