tillrohrmann commented on a change in pull request #12815:
URL: https://github.com/apache/flink/pull/12815#discussion_r449642784



##########
File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/jobmaster/JobMasterExecutionDeploymentReconciliationTest.java
##########
@@ -86,38 +88,29 @@ public void setup() {
                haServices.setCheckpointRecoveryFactory(new 
StandaloneCheckpointRecoveryFactory());
        }
 
-       @After
-       public void shutdown() {
-               rpcService.clearGateways();
-       }
-
-       @BeforeClass
-       public static void setupClass() {
-               rpcService = new TestingRpcService();
-       }
-
        @AfterClass
        public static void shutdownClass() throws ExecutionException, 
InterruptedException {
-               rpcService.stopService().get();
+               RPC_SERVICE_RESOURCE.getTestingRpcService().stopService().get();

Review comment:
       I think the resource will take care of shutting the service down.




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


Reply via email to