[HUDI-290] Normalize test class name of all test classes (#951)
This commit is contained in:
@@ -40,7 +40,7 @@ import org.apache.hudi.common.util.Option;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
public class HoodieTableMetaClientTest extends HoodieCommonTestHarness {
|
||||
public class TestHoodieTableMetaClient extends HoodieCommonTestHarness {
|
||||
|
||||
@Before
|
||||
public void init() throws IOException {
|
||||
@@ -77,7 +77,7 @@ import org.junit.runners.Parameterized;
|
||||
|
||||
@SuppressWarnings("Duplicates")
|
||||
@RunWith(Parameterized.class)
|
||||
public class HoodieLogFormatTest extends HoodieCommonTestHarness {
|
||||
public class TestHoodieLogFormat extends HoodieCommonTestHarness {
|
||||
|
||||
private static String BASE_OUTPUT_PATH = "/tmp/";
|
||||
private FileSystem fs;
|
||||
@@ -85,7 +85,7 @@ public class HoodieLogFormatTest extends HoodieCommonTestHarness {
|
||||
private int bufferSize = 4096;
|
||||
private Boolean readBlocksLazily = true;
|
||||
|
||||
public HoodieLogFormatTest(Boolean readBlocksLazily) {
|
||||
public TestHoodieLogFormat(Boolean readBlocksLazily) {
|
||||
this.readBlocksLazily = readBlocksLazily;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ import org.junit.Test;
|
||||
* {@link MiniClusterUtil} to reproduce append() issue : https://issues.apache.org/jira/browse/HDFS-6325 Reference :
|
||||
* https://issues.apache.org/jira/secure/attachment/12645053/HDFS-6325.patch
|
||||
*/
|
||||
public class HoodieLogFormatAppendFailureTest {
|
||||
public class TestHoodieLogFormatAppendFailure {
|
||||
|
||||
private static File baseDir;
|
||||
private static MiniDFSCluster cluster;
|
||||
@@ -36,7 +36,7 @@ import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.rules.ExpectedException;
|
||||
|
||||
public class HoodieActiveTimelineTest extends HoodieCommonTestHarness {
|
||||
public class TestHoodieActiveTimeline extends HoodieCommonTestHarness {
|
||||
|
||||
private HoodieActiveTimeline timeline;
|
||||
@Rule
|
||||
@@ -64,9 +64,9 @@ import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
@SuppressWarnings("ResultOfMethodCallIgnored")
|
||||
public class HoodieTableFileSystemViewTest extends HoodieCommonTestHarness {
|
||||
public class TestHoodieTableFileSystemView extends HoodieCommonTestHarness {
|
||||
|
||||
private static final transient Logger log = LogManager.getLogger(HoodieTableFileSystemViewTest.class);
|
||||
private static final transient Logger log = LogManager.getLogger(TestHoodieTableFileSystemView.class);
|
||||
|
||||
private static String TEST_WRITE_TOKEN = "1-0-1";
|
||||
|
||||
@@ -69,9 +69,9 @@ import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
public class IncrementalFSViewSyncTest extends HoodieCommonTestHarness {
|
||||
public class TestIncrementalFSViewSync extends HoodieCommonTestHarness {
|
||||
|
||||
private static final transient Logger log = LogManager.getLogger(IncrementalFSViewSyncTest.class);
|
||||
private static final transient Logger log = LogManager.getLogger(TestIncrementalFSViewSync.class);
|
||||
|
||||
private static String TEST_WRITE_TOKEN = "1-0-1";
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.apache.hudi.common.table.HoodieTableMetaClient;
|
||||
import org.apache.hudi.common.table.HoodieTimeline;
|
||||
import org.apache.hudi.common.table.SyncableFileSystemView;
|
||||
|
||||
public class RocksDBBasedIncrementalFSViewSyncTest extends IncrementalFSViewSyncTest {
|
||||
public class TestRocksDBBasedIncrementalFSViewSync extends TestIncrementalFSViewSync {
|
||||
|
||||
@Override
|
||||
protected SyncableFileSystemView getFileSystemView(HoodieTableMetaClient metaClient, HoodieTimeline timeline)
|
||||
@@ -22,7 +22,7 @@ import java.io.IOException;
|
||||
import org.apache.hudi.common.table.HoodieTimeline;
|
||||
import org.apache.hudi.common.table.SyncableFileSystemView;
|
||||
|
||||
public class RocksDbBasedFileSystemViewTest extends HoodieTableFileSystemViewTest {
|
||||
public class TestRocksDbBasedFileSystemView extends TestHoodieTableFileSystemView {
|
||||
|
||||
protected SyncableFileSystemView getFileSystemView(HoodieTimeline timeline) throws IOException {
|
||||
return new RocksDbBasedFileSystemView(metaClient, timeline,
|
||||
@@ -21,7 +21,7 @@ package org.apache.hudi.common.table.view;
|
||||
import org.apache.hudi.common.table.HoodieTimeline;
|
||||
import org.apache.hudi.common.table.SyncableFileSystemView;
|
||||
|
||||
public class SpillableMapBasedFileSystemViewTest extends HoodieTableFileSystemViewTest {
|
||||
public class TestSpillableMapBasedFileSystemView extends TestHoodieTableFileSystemView {
|
||||
|
||||
protected SyncableFileSystemView getFileSystemView(HoodieTimeline timeline) {
|
||||
return new SpillableMapBasedFileSystemView(metaClient, timeline, FileSystemViewStorageConfig.newBuilder()
|
||||
@@ -22,7 +22,7 @@ import org.apache.hudi.common.table.HoodieTableMetaClient;
|
||||
import org.apache.hudi.common.table.HoodieTimeline;
|
||||
import org.apache.hudi.common.table.SyncableFileSystemView;
|
||||
|
||||
public class SpillableMapBasedIncrementalFSViewSyncTest extends IncrementalFSViewSyncTest {
|
||||
public class TestSpillableMapBasedIncrementalFSViewSync extends TestIncrementalFSViewSync {
|
||||
|
||||
@Override
|
||||
protected SyncableFileSystemView getFileSystemView(HoodieTableMetaClient metaClient, HoodieTimeline timeline) {
|
||||
Reference in New Issue
Block a user