You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/01/22 18:37:04 UTC

[GitHub] [flink] zentol commented on a change in pull request #10923: [FLINK-15691][tests] Remove runInTaskExecutorThreadAndWait()

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


With regards,
Apache Git Services