This is an automated email from the ASF dual-hosted git repository.

szita pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 8741b620ba0 HIVE-26583: Ensure iceberg-catalog tests are executed in 
ptest (#3647) (Zsolt Miskolczi, reviewed by Adam Szita)
8741b620ba0 is described below

commit 8741b620ba020dfbe472b3822674d74c779f1215
Author: InvisibleProgrammer <[email protected]>
AuthorDate: Tue Oct 11 13:53:58 2022 +0200

    HIVE-26583: Ensure iceberg-catalog tests are executed in ptest (#3647) 
(Zsolt Miskolczi, reviewed by Adam Szita)
---
 iceberg/iceberg-catalog/pom.xml                                      | 5 +++++
 .../java/org/apache/iceberg/hive/HiveCreateReplaceTableTest.java     | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/iceberg/iceberg-catalog/pom.xml b/iceberg/iceberg-catalog/pom.xml
index 6203e405cfe..27ac3284589 100644
--- a/iceberg/iceberg-catalog/pom.xml
+++ b/iceberg/iceberg-catalog/pom.xml
@@ -63,5 +63,10 @@
       <artifactId>junit-jupiter-api</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.junit.vintage</groupId>
+      <artifactId>junit-vintage-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 </project>
diff --git 
a/iceberg/iceberg-catalog/src/test/java/org/apache/iceberg/hive/HiveCreateReplaceTableTest.java
 
b/iceberg/iceberg-catalog/src/test/java/org/apache/iceberg/hive/HiveCreateReplaceTableTest.java
index f291baf51f6..e0e03e9206c 100644
--- 
a/iceberg/iceberg-catalog/src/test/java/org/apache/iceberg/hive/HiveCreateReplaceTableTest.java
+++ 
b/iceberg/iceberg-catalog/src/test/java/org/apache/iceberg/hive/HiveCreateReplaceTableTest.java
@@ -168,7 +168,7 @@ public class HiveCreateReplaceTableTest extends 
HiveMetastoreTest {
     AssertHelpers.assertThrows(
         "Should not be possible to start a new replace table txn",
         NoSuchTableException.class,
-        "No such table: hivedb.tbl",
+        "Table does not exist: hivedb.tbl",
         () -> catalog.newReplaceTableTransaction(TABLE_IDENTIFIER, SCHEMA, 
SPEC, false));
   }
 

Reply via email to