diff --git a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AEncryptionSSEC.java b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AEncryptionSSEC.java index 71586b8984..a8cf70b931 100644 --- a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AEncryptionSSEC.java +++ b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AEncryptionSSEC.java @@ -58,7 +58,7 @@ public void testCreateFileAndReadWithDifferentEncryptionKey() throws Exception { final Path[] path = new Path[1]; intercept(java.nio.file.AccessDeniedException.class, - "Forbidden (Service: Amazon S3; Status Code: 403;", () -> { + "Service: Amazon S3; Status Code: 403;", () -> { int len = 2048; skipIfEncryptionTestsDisabled(getConfiguration());