From 85d22d70c6c8993fd5f7c12abb5dd537a31e5ade Mon Sep 17 00:00:00 2001 From: Amogh Jahagirdar Date: Mon, 25 Sep 2023 13:33:17 -0700 Subject: [PATCH] AWS: Fix DefaultAwsClientFactory#S3FileIOEndpointOverride test (#8643) --- .../org/apache/iceberg/aws/TestDefaultAwsClientFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/src/integration/java/org/apache/iceberg/aws/TestDefaultAwsClientFactory.java b/aws/src/integration/java/org/apache/iceberg/aws/TestDefaultAwsClientFactory.java index b69b24583f4f..60c06b1f08d7 100644 --- a/aws/src/integration/java/org/apache/iceberg/aws/TestDefaultAwsClientFactory.java +++ b/aws/src/integration/java/org/apache/iceberg/aws/TestDefaultAwsClientFactory.java @@ -55,7 +55,7 @@ public void testS3FileIoEndpointOverride() { AssertHelpers.assertThrowsCause( "Should refuse connection to unknown endpoint", SdkClientException.class, - "Unable to execute HTTP request: unknown", + "Unable to execute HTTP request: bucket.unknown", () -> s3Client.getObject(GetObjectRequest.builder().bucket("bucket").key("key").build())); }