You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Mayumi Liyanage (JIRA)" <ji...@apache.org> on 2017/12/08 21:18:00 UTC

[jira] [Created] (BEAM-3319) Cannot build Apache Beam due to Apex Runner test failing

Mayumi Liyanage created BEAM-3319:
-------------------------------------

             Summary: Cannot build Apache Beam due to Apex Runner test failing
                 Key: BEAM-3319
                 URL: https://issues.apache.org/jira/browse/BEAM-3319
             Project: Beam
          Issue Type: Bug
          Components: runner-apex
    Affects Versions: 2.2.0
            Reporter: Mayumi Liyanage
            Priority: Critical


In contribution-guide to setup Apache Beam, last step indicates to run _mvn verify_ to make the setup is correct. Build fails due to assertion that is happening in _org.apache.beam.runners.apex.examples.WordCountTest_. Failure is due to race condition of not waiting enough for files to be generated. To prove this bug, if we insert Thread.sleep before the assertion, test always passes. This is preventing from completing contribution-guide successfully. 

Error message:
_[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 60.315 s <<< FAILURE! - in org.apache.beam.runners.apex.examples.WordCountTest [ERROR] testWordCountExample(org.apache.beam.runners.apex.examples.WordCountTest) Time elapsed: 32.259 s <<< FAILURE! java.lang.AssertionError: result files exist at org.junit.Assert.fail(Assert.java:88)_




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)