Skip to content

Commit

Permalink
Rename failure recover test classes to match convention
Browse files Browse the repository at this point in the history
  • Loading branch information
losipiuk committed Jan 19, 2022
1 parent 830ac66 commit 55432cf
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions plugin/trino-hive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,8 @@
<excludes>
<exclude>**/TestHiveGlueMetastore.java</exclude>
<exclude>**/TestFullParquetReader.java</exclude>
<exclude>**/TestHiveFailureRecoveryFile.java</exclude>
<exclude>**/TestHiveFailureRecoveryMinIO.java</exclude>
<exclude>**/TestHiveFileFailureRecoveryTest.java</exclude>
<exclude>**/TestHiveMinioFailureRecoveryTest.java</exclude>
</excludes>
</configuration>
</plugin>
Expand Down Expand Up @@ -463,8 +463,8 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/TestHiveFailureRecoveryFile.java</include>
<include>**/TestHiveFailureRecoveryMinIO.java</include>
<include>**/TestHiveFileFailureRecoveryTest.java</include>
<include>**/TestHiveMinioFailureRecoveryTest.java</include>
</includes>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package io.trino.plugin.hive;

import io.trino.Session;
import io.trino.testing.AbstractTestFailureRecovery;
import io.trino.testing.BaseFailureRecoveryTest;
import org.intellij.lang.annotations.Language;
import org.testng.annotations.Test;

Expand All @@ -24,8 +24,8 @@
import static java.lang.String.format;
import static org.assertj.core.api.Assertions.assertThatThrownBy;

public abstract class BaseTestHiveFailureRecovery
extends AbstractTestFailureRecovery
public abstract class BaseHiveFailureRecoveryTest
extends BaseFailureRecoveryTest
{
@Override
protected boolean areWriteRetriesSupported()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
import java.util.List;
import java.util.Map;

public class TestHiveFailureRecoveryFile
extends BaseTestHiveFailureRecovery
public class TestHiveFileFailureRecoveryTest
extends BaseHiveFailureRecoveryTest
{
@Override
protected QueryRunner createQueryRunner(List<TpchTable<?>> requiredTpchTables, Map<String, String> configProperties, Map<String, String> coordinatorProperties)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

import static io.trino.testing.sql.TestTable.randomTableSuffix;

public class TestHiveFailureRecoveryMinIO
extends BaseTestHiveFailureRecovery
public class TestHiveMinioFailureRecoveryTest
extends BaseHiveFailureRecoveryTest
{
private String bucketName;
private HiveMinioDataLake dockerizedS3DataLake;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.testng.Assert.assertEquals;

public abstract class AbstractTestFailureRecovery
public abstract class BaseFailureRecoveryTest
extends AbstractTestQueryFramework
{
private static final String PARTITIONED_LINEITEM = "partitioned_lineitem";
Expand Down

0 comments on commit 55432cf

Please sign in to comment.