reswqa commented on code in PR #22632:
URL: https://github.com/apache/flink/pull/22632#discussion_r1204219892


##########
flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/DefaultDispatcherRunnerITCase.java:
##########
@@ -121,18 +120,20 @@ public void setup() {
         partialDispatcherServices =
                 TestingPartialDispatcherServices.builder()
                         .withFatalErrorHandler(fatalErrorHandler)
-                        .build(blobServerResource.getBlobServer(), new 
Configuration());
+                        .build(
+                                
blobServerExtensionWrapper.getCustomExtension().getBlobServer(),
+                                new Configuration());
     }
 
-    @After
-    public void teardown() throws Exception {
+    @AfterEach
+    void teardown() throws Exception {
         if (fatalErrorHandler != null) {
             fatalErrorHandler.rethrowError();
         }
     }
 
     @Test
-    public void leaderChange_afterJobSubmission_recoversSubmittedJob() throws 
Exception {
+    void leaderChange_afterJobSubmission_recoversSubmittedJob() throws 
Exception {
         try (final DispatcherRunner dispatcherRunner = 
createDispatcherRunner()) {

Review Comment:
   We does need this `dispatcherRunner` as `firstDispatcherGateway` depend on 
and connect to 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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to