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

View File

@ -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());