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

jackye 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 49684accd AWS: Fix tests failure in TestGlueCatalogCommitFailure 
(#4857)
49684accd is described below

commit 49684accdb9da28d6cef1a1b5c4ce29622436f64
Author: Xiaoxuan <[email protected]>
AuthorDate: Tue May 24 21:45:56 2022 -0700

    AWS: Fix tests failure in TestGlueCatalogCommitFailure (#4857)
---
 .../org/apache/iceberg/aws/glue/TestGlueCatalogCommitFailure.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/aws/src/integration/java/org/apache/iceberg/aws/glue/TestGlueCatalogCommitFailure.java
 
b/aws/src/integration/java/org/apache/iceberg/aws/glue/TestGlueCatalogCommitFailure.java
index 73dd561ee..b77587047 100644
--- 
a/aws/src/integration/java/org/apache/iceberg/aws/glue/TestGlueCatalogCommitFailure.java
+++ 
b/aws/src/integration/java/org/apache/iceberg/aws/glue/TestGlueCatalogCommitFailure.java
@@ -263,7 +263,7 @@ public class TestGlueCatalogCommitFailure extends 
GlueTestBase {
     AssertHelpers.assertThrows(
             "Should throw not found exception",
             NotFoundException.class,
-            "Cannot commit because Glue cannot find the requested entity",
+            "because Glue cannot find the requested entity",
             () -> spyOps.commit(metadataV2, metadataV1));
 
     ops.refresh();
@@ -286,7 +286,7 @@ public class TestGlueCatalogCommitFailure extends 
GlueTestBase {
     AssertHelpers.assertThrows(
             "Should throw forbidden exception",
             ForbiddenException.class,
-            "Cannot commit because Glue cannot access the requested resources",
+            "because Glue cannot access the requested resources",
             () -> spyOps.commit(metadataV2, metadataV1));
 
     ops.refresh();
@@ -309,7 +309,7 @@ public class TestGlueCatalogCommitFailure extends 
GlueTestBase {
     AssertHelpers.assertThrows(
             "Should throw validation exception",
             org.apache.iceberg.exceptions.ValidationException.class,
-            "Cannot commit because Glue encountered a validation exception 
while accessing requested resources",
+            "because Glue encountered a validation exception while accessing 
requested resources",
             () -> spyOps.commit(metadataV2, metadataV1));
 
     ops.refresh();

Reply via email to