Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.1-incubating, 0.2, 0.3
-
None
-
builds.apache.org, found fix Jenkins testing on solaris, e.g., see: https://builds.apache.org/job/oodt-trunk/9/
Description
Our Jenkins jobs are failing every other day, basically whenever we run on a solaris box, and they are failing specifically in the following tests (e.g., see: https://builds.apache.org/job/oodt-trunk/5/)
https://builds.apache.org/job/oodt-trunk/5/org.apache.oodt$cas-metadata/testReport/
https://builds.apache.org/job/oodt-trunk/5/org.apache.oodt$oodt-commons/
https://builds.apache.org/job/oodt-trunk/5/org.apache.oodt$cas-protocol-sftp/console
Basically as pointed out by Olivier Lamy on builds@:
We can fix this with a custom Maven surefire-test declaration for the java.io.tmpdir property:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.9</version> <configuration> .... <systemPropertyVariables> <java.io.tmpdir>${project.build.outputDirectory}</java.io.tmpdir> </systemPropertyVariables> .... </configuration> </plugin>