tillrohrmann commented on a change in pull request #6883: [FLINK-10610] [tests] 
Port slot sharing cases to new codebase
URL: https://github.com/apache/flink/pull/6883#discussion_r256294812
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/minicluster/MiniCluster.java
 ##########
 @@ -209,6 +209,13 @@ public HighAvailabilityServices 
getHighAvailabilityServices() {
                }
        }
 
+       TaskExecutor[] getTaskManagers() {
+               synchronized (lock) {
+                       checkState(running, "MiniCluster is not yet running.");
+                       return taskManagers;
+               }
+       }
 
 Review comment:
   I would like to do this differently. Please take a look at #7676.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to