Skip to content

Commit

Permalink
#11196: Trying to fix functional-tests for MSSQL and Oracle (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmontes authored and agomez-dotcms committed May 17, 2017
1 parent 7482b62 commit 172e84b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion dotCMS/build-aws-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,12 @@ felix.base.dir=$PWD/dotserver/tomcat/webapps/ROOT/WEB-INF/felix
mkdir tests
mkdir tests/logs

# Run End-2-End tests
# Run Functional tests
ant -f build-tests.xml test-dotcms
if [ ! -d "dotserver/tomcat/webapps/ROOT/dotsecure/logs/test" ]; then
# Retry if could not be run
ant -f build-tests.xml test-dotcms
fi

# Copy results and logs of tests
cp dotserver/tomcat/webapps/ROOT/dotsecure/logs/test/*.xml tests
Expand Down
2 changes: 1 addition & 1 deletion dotCMS/src/functional-test/resources/build-tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
starttarget="tomcat-start"
stoptarget="tomcat-stop"
testtarget="test-all-junits"
timeout="1200000"/>
timeout="900000"/>
</target>

<!-- Hit the tests servlet to run all the unit tests of the application -->
Expand Down

0 comments on commit 172e84b

Please sign in to comment.