duongkame commented on code in PR #3800:
URL: https://github.com/apache/ozone/pull/3800#discussion_r997579713


##########
hadoop-hdds/client/src/test/java/org/apache/hadoop/hdds/scm/storage/TestBlockInputStream.java:
##########
@@ -68,7 +72,6 @@
 /**
  * Tests for {@link BlockInputStream}'s functionality.
  */
-@RunWith(MockitoJUnitRunner.class)

Review Comment:
   The `MockitoJUnitRunner` doesn't work with `ParameterizedTest`. So, I 
removed that declaration to let JUnit figure out the right runner itself. A 
little side effect is that we have to manually mock objects instead of just 
declaring mocks using `@Mock`.



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