HADOOP-19257. S3A: ITestAssumeRole.testAssumeRoleBadInnerAuth failure (#7021)

Remove the error string matched on so that no future message change
from AWS will trigger a regression

Contributed by Steve Loughran
This commit is contained in:
Steve Loughran 2024-09-03 21:20:47 +01:00 committed by GitHub
parent 1655acc5e2
commit 3bbfb2be08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -283,8 +283,7 @@ public void testAssumeRoleBadInnerAuth() throws Exception {
conf.set(SECRET_KEY, "not secret");
expectFileSystemCreateFailure(conf,
AWSBadRequestException.class,
"not a valid " +
"key=value pair (missing equal-sign) in Authorization header");
"");
}
@Test