TisonKun commented on a change in pull request #9609:
[FLINK-13750][client][coordination] Separate HA services between client-side
and server-side
URL: https://github.com/apache/flink/pull/9609#discussion_r320717651
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/highavailability/HighAvailabilityServicesUtilsTest.java
##########
@@ -59,6 +59,22 @@ public void testCreateCustomHAServices() throws Exception {
assertSame(haServices, actualHaServices);
}
+ @Test
+ public void testCreateCustomClientHAServices() throws Exception {
+ Configuration config = new Configuration();
+
+ ClientHighAvailabilityServices clientHAServices =
Mockito.mock(ClientHighAvailabilityServices.class);
Review comment:
Done with also remove other `Mockito` usage. I think they are small enough
and related to this pr to be included, instead of a dedicated follow up to
remove mockito and keep consistency.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services