jenniferdai commented on a change in pull request #4573: Merge LLC related 
integration tests
URL: https://github.com/apache/incubator-pinot/pull/4573#discussion_r319696258
 
 

 ##########
 File path: 
pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/LLCRealtimeClusterIntegrationTest.java
 ##########
 @@ -19,58 +19,56 @@
 package org.apache.pinot.integration.tests;
 
 import com.fasterxml.jackson.databind.JsonNode;
-import com.google.common.base.Function;
 import java.io.File;
 import java.io.IOException;
 import java.util.Arrays;
 import java.util.Collections;
-import java.util.HashMap;
 import java.util.List;
-import java.util.Map;
 import java.util.Random;
 import org.apache.avro.reflect.Nullable;
 import org.apache.commons.configuration.Configuration;
 import org.apache.commons.io.FileUtils;
 import org.apache.helix.ZNRecord;
-import org.apache.pinot.common.config.IndexingConfig;
-import org.apache.pinot.common.config.SegmentsValidationAndRetentionConfig;
 import org.apache.pinot.common.config.TableConfig;
-import org.apache.pinot.common.config.TableCustomConfig;
 import org.apache.pinot.common.config.TableNameBuilder;
-import org.apache.pinot.common.config.TenantConfig;
 import org.apache.pinot.common.utils.CommonConstants;
 import org.apache.pinot.common.utils.CommonConstants.Helix.TableType;
 import org.apache.pinot.controller.ControllerConf;
 import org.apache.pinot.util.TestUtils;
-import org.testng.Assert;
 import org.testng.annotations.BeforeClass;
 import org.testng.annotations.Test;
 
+import static org.testng.Assert.assertEquals;
+import static org.testng.Assert.assertTrue;
+
 
 /**
  * Integration test that extends RealtimeClusterIntegrationTest but uses 
low-level Kafka consumer.
  */
 public class LLCRealtimeClusterIntegrationTest extends 
RealtimeClusterIntegrationTest {
-
-  public static final String CONSUMER_DIRECTORY = "/tmp/consumer-test";
-  public static final long RANDOM_SEED = System.currentTimeMillis();
-  public static final Random RANDOM = new Random(RANDOM_SEED);
-
-  public final boolean _isDirectAlloc = RANDOM.nextBoolean();
-  public final boolean _isConsumerDirConfigured = RANDOM.nextBoolean();
-  private final long _startTime = System.currentTimeMillis();
-
+  private static final String CONSUMER_DIRECTORY = "/tmp/consumer-test";
 
 Review comment:
   Do we need to override the getServer method if split commit is enabled? 
Otherwise the server will not start with the config

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to