tillrohrmann commented on a change in pull request #15105: URL: https://github.com/apache/flink/pull/15105#discussion_r591589290
########## File path: flink-runtime/src/test/java/org/apache/flink/runtime/registration/RegisteredRpcConnectionTest.java ########## @@ -102,12 +98,17 @@ public void testRpcConnectionFailures() throws Exception { final String testRpcConnectionEndpointAddress = "<TestRpcConnectionEndpointAddress>"; final UUID leaderId = UUID.randomUUID(); - // gateway that upon calls Throw an exception - TestRegistrationGateway testGateway = mock(TestRegistrationGateway.class); final RuntimeException registrationException = new RuntimeException(connectionFailureMessage); - when(testGateway.registrationCall(any(UUID.class), anyLong())) - .thenThrow(registrationException); + + // gateway that upon calls Throw an exception Review comment: Will fix it. ---------------------------------------------------------------- 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: us...@infra.apache.org