smengcl commented on code in PR #4236:
URL: https://github.com/apache/ozone/pull/4236#discussion_r1099296435


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestKeyManagerImpl.java:
##########
@@ -1351,6 +1353,80 @@ public void testGetFileStatusWithFakeDir() throws 
IOException {
     Assert.assertTrue(ozoneFileStatus.isFile());
   }
 
+  @Test
+  public void testGetFileStatusWithFakeDirFalsePositive() throws IOException {

Review Comment:
   Hi @adoroszlai , I agree that generally in a bug fix we should not do 
refactoring (because of backportability concern). Though in this case I'd say 
it is alright as the "refactoring" is in the UT.
   
   I'm fine either way. :)



-- 
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]

Reply via email to