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

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


The following commit(s) were added to refs/heads/main by this push:
     new 3466ae02ee Core: Cleanup assertion messages in partition spec tests 
(#9528)
3466ae02ee is described below

commit 3466ae02ee48a7fe6d4d315cb40c6359f5c0fabb
Author: Amogh Jahagirdar <[email protected]>
AuthorDate: Sun Jan 21 23:40:03 2024 -0800

    Core: Cleanup assertion messages in partition spec tests (#9528)
---
 core/src/test/java/org/apache/iceberg/TestUpdatePartitionSpec.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/src/test/java/org/apache/iceberg/TestUpdatePartitionSpec.java 
b/core/src/test/java/org/apache/iceberg/TestUpdatePartitionSpec.java
index 926272e60f..5ecf138870 100644
--- a/core/src/test/java/org/apache/iceberg/TestUpdatePartitionSpec.java
+++ b/core/src/test/java/org/apache/iceberg/TestUpdatePartitionSpec.java
@@ -235,7 +235,7 @@ public class TestUpdatePartitionSpec extends TableTestBase {
             .bucket("id", 8, "id_bucket_8")
             .build();
 
-    Assert.assertEquals("Should have a day and an hour time field", expected, 
bucket8);
+    Assert.assertEquals("Should have multiple bucket partition fields", 
expected, bucket8);
   }
 
   @Test
@@ -601,7 +601,7 @@ public class TestUpdatePartitionSpec extends TableTestBase {
   }
 
   @Test
-  public void testDeleteAndRename() {
+  public void testRenameAndDelete() {
     Assertions.assertThatThrownBy(
             () ->
                 new BaseUpdatePartitionSpec(formatVersion, PARTITIONED)
@@ -612,7 +612,7 @@ public class TestUpdatePartitionSpec extends TableTestBase {
   }
 
   @Test
-  public void testRenameAndDelete() {
+  public void testDeleteAndRename() {
     Assertions.assertThatThrownBy(
             () ->
                 new BaseUpdatePartitionSpec(formatVersion, PARTITIONED)

Reply via email to