Change default test output directory for entity cache tests

This commit is contained in:
Yuriy Artamonov 2019-05-27 17:00:04 +04:00
parent 8dbf52468d
commit f634fbe3b5
3 changed files with 6 additions and 8 deletions

4
.gitignore vendored
View File

@ -11,6 +11,4 @@ out
*.ids
.idea
modules/*/test-home/
modules/*/build/
modules/core/test-ormcache-run/
modules/*/build/

View File

@ -19,10 +19,10 @@ cuba.webHostName=localhost
cuba.webPort=8080
cuba.webContextName=cuba
cuba.confDir=${user.dir}/test-ormcache-run/conf
cuba.logDir=${user.dir}/test-ormcache-run/logs
cuba.tempDir=${user.dir}/test-ormcache-run/temp
cuba.dataDir=${user.dir}/test-ormcache-run/work
cuba.confDir=${user.dir}/build/test-ormcache-run/conf
cuba.logDir=${user.dir}/build/test-ormcache-run/logs
cuba.tempDir=${user.dir}/build/test-ormcache-run/temp
cuba.dataDir=${user.dir}/build/test-ormcache-run/work
cuba.trustedClientPermittedIpList=127.0.0.1, 10.17.*.*

View File

@ -33,7 +33,7 @@ class PersistenceXmlPostProcessorTest extends Specification {
private PersistenceConfigProcessor persistenceConfigProcessor
void setup() {
workDir = System.getProperty('user.dir') + '/test-home/PersistenceXmlPostProcessorTest'
workDir = System.getProperty('user.dir') + '/build/test-home/PersistenceXmlPostProcessorTest'
new File(workDir).deleteDir()
persistenceConfigProcessor = new PersistenceConfigProcessor()