Konstantin Boudnik created BIGTOP-2243:
------------------------------------------
Summary: :itest-common:test is broken without JAVA_HOME being set
Key: BIGTOP-2243
URL: https://issues.apache.org/jira/browse/BIGTOP-2243
Project: Bigtop
Issue Type: Bug
Components: build
Affects Versions: 1.0.0
Environment: Gradle build
Reporter: Konstantin Boudnik
Fix For: 1.1.0
The lollowing iTest tests are failing when ran from Gradle
{noformat}
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
{noformat}
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
{noformat}
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)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)