From 0013090fb4340eadf147054e65a73de20a62c1c1 Mon Sep 17 00:00:00 2001 From: Mingliang Liu Date: Tue, 21 Feb 2017 17:30:39 -0800 Subject: [PATCH] HADOOP-14102. Relax error message assertion in S3A test ITestS3AEncryptionSSEC. Contributed by Mingliang Liu --- .../java/org/apache/hadoop/fs/s3a/ITestS3AEncryptionSSEC.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());