From 5e14e125b2d930dbe29760d5872fd78e9c8299fe Mon Sep 17 00:00:00 2001 From: maoling Date: Sun, 6 May 2018 15:59:21 +0800 Subject: [PATCH] HBASE-20508 TestIncrementalBackupWithBulkLoad doesn't need to be Parameterized test Signed-off-by: Chia-Ping Tsai --- .../TestIncrementalBackupWithBulkLoad.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestIncrementalBackupWithBulkLoad.java b/hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestIncrementalBackupWithBulkLoad.java index 34f732cca6c..74dd569b62d 100644 --- a/hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestIncrementalBackupWithBulkLoad.java +++ b/hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestIncrementalBackupWithBulkLoad.java @@ -19,8 +19,6 @@ package org.apache.hadoop.hbase.backup; import static org.junit.Assert.assertTrue; -import java.util.ArrayList; -import java.util.Collection; import java.util.List; import java.util.Map; import org.apache.hadoop.hbase.HBaseClassTestRule; @@ -41,8 +39,6 @@ import org.junit.Assert; import org.junit.ClassRule; import org.junit.Test; import org.junit.experimental.categories.Category; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -57,7 +53,6 @@ import org.apache.hbase.thirdparty.com.google.common.collect.Lists; * 6 Incremental backup t1 */ @Category(LargeTests.class) -@RunWith(Parameterized.class) public class TestIncrementalBackupWithBulkLoad extends TestBackupBase { @ClassRule @@ -66,17 +61,6 @@ public class TestIncrementalBackupWithBulkLoad extends TestBackupBase { private static final Logger LOG = LoggerFactory.getLogger(TestIncrementalBackupDeleteTable.class); - @Parameterized.Parameters - public static Collection data() { - secure = true; - List params = new ArrayList<>(); - params.add(new Object[] {Boolean.TRUE}); - return params; - } - - public TestIncrementalBackupWithBulkLoad(Boolean b) { - } - // implement all test cases in 1 test since incremental backup/restore has dependencies @Test public void TestIncBackupDeleteTable() throws Exception {