You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by et...@apache.org on 2023/07/21 14:41:21 UTC

[iceberg] branch hive-fix-assertion created (now be3b63d1a5)

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

etudenhoefner pushed a change to branch hive-fix-assertion
in repository https://gitbox.apache.org/repos/asf/iceberg.git


      at be3b63d1a5 Hive: Fix assertion

This branch includes the following new commits:

     new be3b63d1a5 Hive: Fix assertion

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iceberg] 01/01: Hive: Fix assertion

Posted by et...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

etudenhoefner pushed a commit to branch hive-fix-assertion
in repository https://gitbox.apache.org/repos/asf/iceberg.git

commit be3b63d1a5dcf49b8b2b1b0ee0d3528c825888e7
Author: Eduard Tudenhoefner <et...@gmail.com>
AuthorDate: Fri Jul 21 16:41:16 2023 +0200

    Hive: Fix assertion
---
 .../src/test/java/org/apache/iceberg/hive/TestHiveMetastore.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hive-metastore/src/test/java/org/apache/iceberg/hive/TestHiveMetastore.java b/hive-metastore/src/test/java/org/apache/iceberg/hive/TestHiveMetastore.java
index e60181a33b..ef8bd7ee0a 100644
--- a/hive-metastore/src/test/java/org/apache/iceberg/hive/TestHiveMetastore.java
+++ b/hive-metastore/src/test/java/org/apache/iceberg/hive/TestHiveMetastore.java
@@ -112,7 +112,7 @@ public class TestHiveMetastore {
                     FileSystem fs = Util.getFs(localDirPath, new Configuration());
                     String errMsg = "Failed to delete " + localDirPath;
                     try {
-                      assertThat(fs.delete(localDirPath, true)).isEqualTo(errMsg);
+                      assertThat(fs.delete(localDirPath, true)).as(errMsg).isTrue();
                     } catch (IOException e) {
                       throw new RuntimeException(errMsg, e);
                     }