tomtongue commented on code in PR #9670: URL: https://github.com/apache/iceberg/pull/9670#discussion_r1487646760
########## spark/v3.5/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestUpdate.java: ########## @@ -288,34 +265,34 @@ public void testExplain() { sql("EXPLAIN UPDATE %s SET dep = 'invalid' WHERE true", commitTarget()); Table table = validationCatalog.loadTable(tableIdent); - Assert.assertEquals("Should have 1 snapshot", 1, Iterables.size(table.snapshots())); + assertThat(table.snapshots()).as("Should have 1 snapshot").hasSize(1); assertEquals( "Should have expected rows", ImmutableList.of(row(1, "hr"), row(2, "hardware"), row(null, "hr")), sql("SELECT * FROM %s ORDER BY id ASC NULLS LAST", selectTarget())); } - @Test + @TestTemplate public void testUpdateEmptyTable() { - Assume.assumeFalse("Custom branch does not exist for empty table", "test".equals(branch)); + assumeThat("test".equals(branch)).as("Custom branch does not exist for empty table").isFalse(); Review Comment: Sure, thank you! -- 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