wuchong commented on a change in pull request #12657:
URL: https://github.com/apache/flink/pull/12657#discussion_r440651382



##########
File path: 
flink-end-to-end-tests/flink-end-to-end-tests-common/src/main/java/org/apache/flink/tests/util/AutoClosableProcess.java
##########
@@ -167,6 +186,18 @@ private static void processStream(final InputStream 
stream, final Consumer<Strin
                ).start();
        }
 
+       private static void processOutputStream(final OutputStream stream, 
final List<String> inputs) {
+               new Thread(() -> {

Review comment:
       Even if we don't start a thread here, it is still possible the process 
is finished when we want to print lines to the process. 




----------------------------------------------------------------
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


Reply via email to