From db955f0844ee2b961028fb2220b250e35d83e964 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 (cherry picked from commit 0013090fb4340eadf147054e65a73de20a62c1c1) --- .../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 032ba0d3665..88eb426b807 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 @@ -65,7 +65,7 @@ public class ITestS3AEncryptionSSEC extends AbstractTestS3AEncryption { Exception { expectedException.expect(java.nio.file.AccessDeniedException.class); expectedException.expectMessage(StringContains - .containsString("Forbidden (Service: Amazon S3; Status Code: 403;")); + .containsString("Service: Amazon S3; Status Code: 403;")); Path path = null; try {