raju-balpande commented on code in PR #5616:
URL: https://github.com/apache/ozone/pull/5616#discussion_r1400364723
##########
hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/endpoint/TestBucketPut.java:
##########
@@ -65,8 +65,8 @@ public void testBucketFailWithAuthHeaderMissing() throws
Exception {
try {
bucketEndpoint.put(bucketName, null, null, null);
} catch (OS3Exception ex) {
- Assert.assertEquals(HTTP_NOT_FOUND, ex.getHttpCode());
- Assert.assertEquals(MALFORMED_HEADER.getCode(), ex.getCode());
+ assertEquals(HTTP_NOT_FOUND, ex.getHttpCode());
Review Comment:
Done.
##########
hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/endpoint/TestBucketList.java:
##########
@@ -353,8 +357,8 @@ public void listWithContinuationTokenFail() throws
IOException {
null, null, null).getEntity();
fail("listWithContinuationTokenFail");
} catch (OS3Exception ex) {
- Assert.assertEquals("random", ex.getResource());
- Assert.assertEquals("Invalid Argument", ex.getErrorMessage());
+ assertEquals("random", ex.getResource());
Review Comment:
Done.
##########
hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/endpoint/TestBucketAcl.java:
##########
@@ -259,7 +262,7 @@ public void testBucketNotExist() throws Exception {
try {
bucketEndpoint.getAcl("bucket-not-exist");
Review Comment:
Done.
--
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]