Skip to content

Commit

Permalink
Rename test class to match tested class name
Browse files Browse the repository at this point in the history
There is no `HiveGlueMetastore`, but `GlueHiveMetastore` does exist.
  • Loading branch information
findepi committed Nov 24, 2023
1 parent 15e6ff4 commit 131c790
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plugin/trino-hive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/TestHiveGlueMetastore.java</exclude>
<exclude>**/TestGlueHiveMetastore.java</exclude>
<exclude>**/TestHiveS3AndGlueMetastoreTest.java</exclude>
<exclude>**/TestHiveConcurrentModificationGlueMetastore.java</exclude>
<exclude>**/TestFullParquetReader.java</exclude>
Expand Down Expand Up @@ -593,7 +593,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/TestHiveGlueMetastore.java</include>
<include>**/TestGlueHiveMetastore.java</include>
<include>**/TestHiveS3AndGlueMetastoreTest.java</include>
<include>**/TestHiveConcurrentModificationGlueMetastore.java</include>
</includes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@
* See https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html#credentials-default
* on ways to set your AWS credentials which will be needed to run this test.
*/
public class TestHiveGlueMetastore
public class TestGlueHiveMetastore
extends AbstractTestHiveLocal
{
private static final Logger log = Logger.get(TestHiveGlueMetastore.class);
private static final Logger log = Logger.get(TestGlueHiveMetastore.class);

private static final String PARTITION_KEY = "part_key_1";
private static final String PARTITION_KEY2 = "part_key_2";
Expand Down Expand Up @@ -191,7 +191,7 @@ public class TestHiveGlueMetastore
private HiveMetastoreClosure metastore;
private AWSGlueAsync glueClient;

public TestHiveGlueMetastore()
public TestGlueHiveMetastore()
{
super(TEST_DATABASE_NAME_PREFIX + randomUUID().toString().toLowerCase(ENGLISH).replace("-", ""));
}
Expand Down

0 comments on commit 131c790

Please sign in to comment.