1
0

[HUDI-290] Normalize test class name of all test classes (#951)

This commit is contained in:
vinoth chandar
2019-10-22 20:19:11 -07:00
committed by GitHub
parent 031b067a3a
commit e4c91ed13f
20 changed files with 27 additions and 27 deletions

View File

@@ -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 {

View File

@@ -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;
}

View File

@@ -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;

View File

@@ -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

View File

@@ -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";

View File

@@ -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";

View File

@@ -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)

View File

@@ -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,

View File

@@ -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()

View File

@@ -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) {