tillrohrmann commented on a change in pull request #7676: [FLINK-11364][tests]
Port TaskManagerFailsITCase to new code base
URL: https://github.com/apache/flink/pull/7676#discussion_r255876906
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/minicluster/TestingMiniCluster.java
##########
@@ -66,6 +67,17 @@ public TestingMiniCluster(TestingMiniClusterConfiguration
miniClusterConfigurati
return super.getDispatcherResourceManagerComponents();
}
+ @Nonnull
+ @Override
+ public CompletableFuture<Void> terminateTaskExecutor(int index) {
+ return super.terminateTaskExecutor(index);
+ }
+
+ @Override
+ public void startTaskExecutor(boolean localCommunication) throws
Exception {
Review comment:
I introduced a new method `useLocalCommunication` which can be overriden by
the `TestingMiniCluster` to always set local communication to `false`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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