This is an automated email from the ASF dual-hosted git repository.

pnowojski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 9f559769528badd999dafed5388ded98f0b3a730
Author: Aleksey Pak <[email protected]>
AuthorDate: Mon Jun 24 14:07:55 2019 +0200

    [hotfix][tests] Make SynchronousCheckpointTest create StreamTask instance 
in the main task's thread
---
 .../flink/streaming/runtime/tasks/SynchronousCheckpointTest.java       | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/SynchronousCheckpointTest.java
 
b/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/SynchronousCheckpointTest.java
index f7e36d4..f06cfd2 100644
--- 
a/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/SynchronousCheckpointTest.java
+++ 
b/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/SynchronousCheckpointTest.java
@@ -57,9 +57,8 @@ public class SynchronousCheckpointTest {
                execLatch = new OneShotLatch();
                error = new AtomicReference<>();
 
-               streamTaskUnderTest = createTask(runningLatch, execLatch);
-
                mainThreadExecutingTaskUnderTest = launchOnSeparateThread(() -> 
{
+                       streamTaskUnderTest = createTask(runningLatch, 
execLatch);
                        try {
                                streamTaskUnderTest.invoke();
                        } catch (Exception e) {

Reply via email to