HADOOP-14102. Relax error message assertion in S3A test ITestS3AEncryptionSSEC. Contributed by Mingliang Liu

(cherry picked from commit 0013090fb4)
This commit is contained in:
Mingliang Liu 2017-02-21 17:30:39 -08:00
parent 0add328c8c
commit db955f0844
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ public class ITestS3AEncryptionSSEC extends AbstractTestS3AEncryption {
Exception { Exception {
expectedException.expect(java.nio.file.AccessDeniedException.class); expectedException.expect(java.nio.file.AccessDeniedException.class);
expectedException.expectMessage(StringContains expectedException.expectMessage(StringContains
.containsString("Forbidden (Service: Amazon S3; Status Code: 403;")); .containsString("Service: Amazon S3; Status Code: 403;"));
Path path = null; Path path = null;
try { try {