HADOOP-14102. Relax error message assertion in S3A test ITestS3AEncryptionSSEC. Contributed by Mingliang Liu
(cherry picked from commit 0013090fb4
)
This commit is contained in:
parent
0add328c8c
commit
db955f0844
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue