HBASE-25154 Set java.io.tmpdir to project build directory to avoid writing std*deferred files to /tmp (#2502)
Signed-off-by: stack <stack@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
parent
16251dbb53
commit
81f2cc5089
2
pom.xml
2
pom.xml
|
@ -761,6 +761,7 @@
|
||||||
<redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
|
<redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
|
||||||
<systemPropertyVariables>
|
<systemPropertyVariables>
|
||||||
<test.build.classes>${test.build.classes}</test.build.classes>
|
<test.build.classes>${test.build.classes}</test.build.classes>
|
||||||
|
<java.io.tmpdir>${test.tmp.dir}</java.io.tmpdir>
|
||||||
</systemPropertyVariables>
|
</systemPropertyVariables>
|
||||||
<excludes>
|
<excludes>
|
||||||
<!-- users can add -D option to skip particular test classes
|
<!-- users can add -D option to skip particular test classes
|
||||||
|
@ -1728,6 +1729,7 @@
|
||||||
<restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
|
<restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
|
||||||
<!-- Location of test resources -->
|
<!-- Location of test resources -->
|
||||||
<test.build.classes>${project.build.directory}/test-classes</test.build.classes>
|
<test.build.classes>${project.build.directory}/test-classes</test.build.classes>
|
||||||
|
<test.tmp.dir>${project.build.directory}</test.tmp.dir>
|
||||||
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
|
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
|
||||||
<!--This build.id we'll add as flag so can identify which forked processes belong to our build.
|
<!--This build.id we'll add as flag so can identify which forked processes belong to our build.
|
||||||
Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
|
Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
|
||||||
|
|
Loading…
Reference in New Issue