zentol commented on a change in pull request #10923: [FLINK-15691][tests] Remove runInTaskExecutorThreadAndWait() URL: https://github.com/apache/flink/pull/10923#discussion_r369732711
########## File path: flink-runtime/src/test/java/org/apache/flink/runtime/taskexecutor/TaskExecutorPartitionLifecycleTest.java ########## @@ -254,7 +249,7 @@ public void testPartitionPromotion() throws Exception { testPartitionRelease( (jobId, partitionId, taskExecutor, taskExecutorGateway, partitionTracker) -> { final CompletableFuture<Collection<ResultPartitionID>> releasePartitionsFuture = new CompletableFuture<>(); - runInTaskExecutorThreadAndWait(taskExecutor, () -> partitionTracker.setPromotePartitionsConsumer(releasePartitionsFuture::complete)); + partitionTracker.setPromotePartitionsConsumer(releasePartitionsFuture::complete); Review comment: hasn't failed so far 🙈 ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services