From 131c7905840def2325fe44ccfb8e6b461985feb2 Mon Sep 17 00:00:00 2001 From: Piotr Findeisen Date: Thu, 23 Nov 2023 12:54:24 +0100 Subject: [PATCH] Rename test class to match tested class name There is no `HiveGlueMetastore`, but `GlueHiveMetastore` does exist. --- plugin/trino-hive/pom.xml | 4 ++-- ...estHiveGlueMetastore.java => TestGlueHiveMetastore.java} | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) rename plugin/trino-hive/src/test/java/io/trino/plugin/hive/metastore/glue/{TestHiveGlueMetastore.java => TestGlueHiveMetastore.java} (99%) diff --git a/plugin/trino-hive/pom.xml b/plugin/trino-hive/pom.xml index f844ae68cb26..577bbbd24557 100644 --- a/plugin/trino-hive/pom.xml +++ b/plugin/trino-hive/pom.xml @@ -536,7 +536,7 @@ maven-surefire-plugin - **/TestHiveGlueMetastore.java + **/TestGlueHiveMetastore.java **/TestHiveS3AndGlueMetastoreTest.java **/TestHiveConcurrentModificationGlueMetastore.java **/TestFullParquetReader.java @@ -593,7 +593,7 @@ maven-surefire-plugin - **/TestHiveGlueMetastore.java + **/TestGlueHiveMetastore.java **/TestHiveS3AndGlueMetastoreTest.java **/TestHiveConcurrentModificationGlueMetastore.java diff --git a/plugin/trino-hive/src/test/java/io/trino/plugin/hive/metastore/glue/TestHiveGlueMetastore.java b/plugin/trino-hive/src/test/java/io/trino/plugin/hive/metastore/glue/TestGlueHiveMetastore.java similarity index 99% rename from plugin/trino-hive/src/test/java/io/trino/plugin/hive/metastore/glue/TestHiveGlueMetastore.java rename to plugin/trino-hive/src/test/java/io/trino/plugin/hive/metastore/glue/TestGlueHiveMetastore.java index 5ef50056585c..a81c4374cd45 100644 --- a/plugin/trino-hive/src/test/java/io/trino/plugin/hive/metastore/glue/TestHiveGlueMetastore.java +++ b/plugin/trino-hive/src/test/java/io/trino/plugin/hive/metastore/glue/TestGlueHiveMetastore.java @@ -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"; @@ -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("-", "")); }