raju-balpande commented on code in PR #5616:
URL: https://github.com/apache/ozone/pull/5616#discussion_r1401843064
##########
hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/endpoint/TestListParts.java:
##########
@@ -130,7 +131,7 @@ public void testListPartsWithUnknownUploadID() throws
Exception {
REST.get(OzoneConsts.S3_BUCKET, OzoneConsts.KEY, 0,
uploadID, 2, "0");
} catch (OS3Exception ex) {
- Assert.assertEquals(S3ErrorTable.NO_SUCH_UPLOAD.getErrorMessage(),
+ assertEquals(S3ErrorTable.NO_SUCH_UPLOAD.getErrorMessage(),
Review Comment:
Created [HDDS-9760](https://issues.apache.org/jira/browse/HDDS-9760) to
address the logical error in three test cases where the catch block is not
getting executed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]