nastra commented on code in PR #12779: URL: https://github.com/apache/iceberg/pull/12779#discussion_r2047326718
########## spark/v3.5/spark/src/test/java/org/apache/iceberg/spark/actions/TestSnapshotTableAction.java: ########## @@ -65,4 +69,39 @@ public void testSnapshotWithParallelTasks() throws IOException { .execute(); assertThat(snapshotThreadsIndex.get()).isEqualTo(2); } + + @TestTemplate + public void testTableLocationOverlapThrowsException() throws IOException { + // Ensure the test runs only for non-Hadoop-based catalogs, + // because path-based tables cannot have a custom location set. + assumeTrue( Review Comment: please use `assumeThat(..)` from AssertJ instead of JUnit. I've created https://github.com/apache/iceberg/issues/12817 to make sure we enforce this going forward -- 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