Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3393

ExternalProcessRunner wait to finish copying error stream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

      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.

      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)
      

      Attachments

        Activity

          People

            greghogan Greg Hogan
            greghogan Greg Hogan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: