Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-2324

Apex Unittest Failed Locally if Directory Contains Space

Details

    Description

      "mvn clean verify -pl runners/apex" failed if project is located in a directory that contains space character.

      I'm using Mac and Linux machine with JDK1.8

      Error summary:

      [ERROR] Failures:
      [ERROR]   WordCountTest.testWordCountExample:130
      [ERROR]   ParDoTranslatorTest.testMultiOutputParDoWithSideInputs:308 expected:<[processing: 666: [11, 222], processing: -42: [11, 222], processing: 3: [11, 222]]> but was:<[]>
      [ERROR] Errors:
      [ERROR]   ParDoTranslatorTest.testSerialization:225 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      [ERROR]   ApexStateInternalsTest.initStateInternals:82 » NullPointer
      

      WordCountTest failure has a separate JIRA (BEAM-2322) since it also happened on Jenkins if project directory contains space.

      Attachments

        Activity

          People

            Unassigned Unassigned
            markflyhigh Mark Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: