Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2243

:itest-common:test is broken without JAVA_HOME being set

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: build
    • Labels:
      None
    • Environment:

      Gradle build

      Description

      The lollowing iTest tests are failing when ran from Gradle

      org.apache.bigtop.itest.JarContentTest > testGetJarName FAILED
          java.lang.AssertionError at JarContentTest.groovy:66
      
      org.apache.bigtop.itest.JarContentTest > testJarContent FAILED
          java.io.FileNotFoundException at JarContentTest.groovy:29
      
      org.apache.bigtop.itest.JarContentTest > testUnpackJarContainer FAILED
          java.io.FileNotFoundException at JarContentTest.groovy:49
      

      The first two are failing in the absence of JAVA_HOME setting. The last one is failing because of the fixed expectation for Maven specific target directory

       java.io.FileNotFoundException: target/local.unpack.dir/sun/reflect/generics/visitor/Reifier.class (No such file or director
               at java.io.FileOutputStream.open(Native Method)
               at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
      

        Attachments

          Activity

            People

            • Assignee:
              cos Konstantin Boudnik
              Reporter:
              cos Konstantin Boudnik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: