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

This commit is contained in:
Mingliang Liu 2017-02-21 17:30:39 -08:00
parent 1a6ca75f38
commit 0013090fb4
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public class ITestS3AEncryptionSSEC extends AbstractTestS3AEncryption {
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());