nastra commented on code in PR #11991:
URL: https://github.com/apache/iceberg/pull/11991#discussion_r1920229779


##########
core/src/test/java/org/apache/iceberg/catalog/CatalogTests.java:
##########
@@ -244,7 +244,7 @@ public void testLoadNamespaceMetadata() {
 
     assertThatThrownBy(() -> catalog.loadNamespaceMetadata(NS))
         .isInstanceOf(NoSuchNamespaceException.class)
-        .hasMessageStartingWith("Namespace does not exist: newdb");
+        .hasMessageStartingWith("Namespace does not exist: %s", NS);

Review Comment:
   this is just a separate improvement to make sure that the namespace name 
isn't hardcoded in the expected error msg when setting `NS` to something else



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to