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 void testCreateFileAndReadWithDifferentEncryptionKey() throws
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 {