Skip to content

Commit b4cd69a

Browse files
steveloughranKeeProMise
authored andcommitted
HADOOP-19257. S3A: ITestAssumeRole.testAssumeRoleBadInnerAuth failure (apache#7021)
Remove the error string matched on so that no future message change from AWS will trigger a regression Contributed by Steve Loughran
1 parent 068d440 commit b4cd69a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/ITestAssumeRole.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,7 @@ public void testAssumeRoleBadInnerAuth() throws Exception {
283283
conf.set(SECRET_KEY, "not secret");
284284
expectFileSystemCreateFailure(conf,
285285
AWSBadRequestException.class,
286-
"not a valid " +
287-
"key=value pair (missing equal-sign) in Authorization header");
286+
"");
288287
}
289288

290289
@Test

0 commit comments

Comments
 (0)