HADOOP-14102. Relax error message assertion in S3A test ITestS3AEncryptionSSEC. Contributed by Mingliang Liu
This commit is contained in:
parent
1a6ca75f38
commit
0013090fb4
|
@ -58,7 +58,7 @@ public class ITestS3AEncryptionSSEC extends AbstractTestS3AEncryption {
|
||||||
Exception {
|
Exception {
|
||||||
final Path[] path = new Path[1];
|
final Path[] path = new Path[1];
|
||||||
intercept(java.nio.file.AccessDeniedException.class,
|
intercept(java.nio.file.AccessDeniedException.class,
|
||||||
"Forbidden (Service: Amazon S3; Status Code: 403;", () -> {
|
"Service: Amazon S3; Status Code: 403;", () -> {
|
||||||
|
|
||||||
int len = 2048;
|
int len = 2048;
|
||||||
skipIfEncryptionTestsDisabled(getConfiguration());
|
skipIfEncryptionTestsDisabled(getConfiguration());
|
||||||
|
|
Loading…
Reference in New Issue