zentol commented on a change in pull request #16156:
URL: https://github.com/apache/flink/pull/16156#discussion_r655313624



##########
File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/leaderelection/LeaderElectionTest.java
##########
@@ -210,8 +210,7 @@ public LeaderElectionService createLeaderElectionService() 
throws Exception {
 
         @Override
         public void setup() {
-            embeddedLeaderService =
-                    new 
EmbeddedLeaderService(TestingUtils.defaultExecutionContext());
+            embeddedLeaderService = new 
EmbeddedLeaderService(TestingUtils.defaultExecutor());

Review comment:
       Yes, and defaultExecutionContext was using the defaultExecutor 
underneath anyway.




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