JingsongLi commented on a change in pull request #12657: URL: https://github.com/apache/flink/pull/12657#discussion_r440646572
########## 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: I don't think it should be same to `processInputStream`. For a process, maybe this thread not start, but process ended. I'd like to think of `Input lines` as commands. ---------------------------------------------------------------- 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