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

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


The following commit(s) were added to refs/heads/master by this push:
     new d8f29155e5 Core: Use more permissive check when registering existing 
table (#8759)
d8f29155e5 is described below

commit d8f29155e505b42a1a7279099f768e0684c397d6
Author: Eduard Tudenhoefner <[email protected]>
AuthorDate: Tue Oct 10 17:03:40 2023 +0200

    Core: Use more permissive check when registering existing table (#8759)
---
 core/src/test/java/org/apache/iceberg/catalog/CatalogTests.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/test/java/org/apache/iceberg/catalog/CatalogTests.java 
b/core/src/test/java/org/apache/iceberg/catalog/CatalogTests.java
index 61fbe39aea..835115ad4d 100644
--- a/core/src/test/java/org/apache/iceberg/catalog/CatalogTests.java
+++ b/core/src/test/java/org/apache/iceberg/catalog/CatalogTests.java
@@ -2697,7 +2697,7 @@ public abstract class CatalogTests<C extends Catalog & 
SupportsNamespaces> {
     String metadataLocation = ops.current().metadataFileLocation();
     Assertions.assertThatThrownBy(() -> catalog.registerTable(identifier, 
metadataLocation))
         .isInstanceOf(AlreadyExistsException.class)
-        .hasMessage("Table already exists: a.t1");
+        .hasMessageStartingWith("Table already exists: a.t1");
     Assertions.assertThat(catalog.dropTable(identifier)).isTrue();
   }
 

Reply via email to