HADOOP-18946. TestErrorTranslation failure (#6205)

Fixes TestErrorTranslation.testMultiObjectExceptionFilledIn() failure
which came in with HADOOP-18939.

Contributed by Steve Loughran
This commit is contained in:
Steve Loughran 2023-10-20 10:13:05 +01:00 committed by GitHub
parent 9a411fcf9d
commit 215cb15beb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,8 +127,6 @@ public void testMultiObjectExceptionFilledIn() throws Throwable {
.exception(ase)
.build();
RetryOnErrorCodeCondition retry = RetryOnErrorCodeCondition.create("");
assertTrue("retry policy of MultiObjectException",
retry.shouldRetry(context));
Assertions.assertThat(retry.shouldRetry(context))
.describedAs("retry policy of MultiObjectException")