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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • build
    • None
    • 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

            cos Konstantin I Boudnik
            cos Konstantin I Boudnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: