diff --git a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/impl/TestErrorTranslation.java b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/impl/TestErrorTranslation.java index dd4abe64c6..a1fdbabb94 100644 --- a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/impl/TestErrorTranslation.java +++ b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/impl/TestErrorTranslation.java @@ -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")