beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mayumi Liyanage (JIRA)" <>
Subject [jira] [Created] (BEAM-3319) Cannot build Apache Beam due to Apex Runner test failing
Date Fri, 08 Dec 2017 21:18:00 GMT
Mayumi Liyanage created BEAM-3319:

             Summary: Cannot build Apache Beam due to Apex Runner test failing
                 Key: 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

This message was sent by Atlassian JIRA

View raw message