This is an automated email from the ASF dual-hosted git repository.
etudenhoefner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new 53d83f7ad1 Hive: Fix assertion (#8127)
53d83f7ad1 is described below
commit 53d83f7ad16c54ef3fb0a05df634d5dacf36028f
Author: Eduard Tudenhoefner <[email protected]>
AuthorDate: Fri Jul 21 18:03:46 2023 +0200
Hive: Fix assertion (#8127)
---
.../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);
}