Greg Hogan created FLINK-3393: --------------------------------- Summary: ExternalProcessRunner wait to finish copying error stream Key: FLINK-3393 URL: https://issues.apache.org/jira/browse/FLINK-3393 Project: Flink Issue Type: Bug Reporter: Greg Hogan Assignee: Greg Hogan Priority: Trivial
Travis CI reported the following error, which could be caused by {{ExternalProcessRunner.run}} returning before the {{PipeForwarder}} has finished copying standard error. Resolution is for {{ExternalProcessRunner.run}} to join on the {{PipeForwarder}}. {code} Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.414 sec <<< FAILURE! - in org.apache.flink.util.ExternalProcessRunnerTest testFailing(org.apache.flink.util.ExternalProcessRunnerTest) Time elapsed: 0.405 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertTrue(Assert.java:52) at org.apache.flink.util.ExternalProcessRunnerTest.testFailing(ExternalProcessRunnerTest.java:75) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)