diff --git a/rm-automation/pom.xml b/rm-automation/pom.xml index 158f45dd44..5eee570158 100644 --- a/rm-automation/pom.xml +++ b/rm-automation/pom.xml @@ -49,7 +49,7 @@ maven-surefire-plugin - true + false ${project.build.testOutputDirectory}/${suiteXmlFile} diff --git a/travis/.travis.tests-stage.yml b/travis/.travis.tests-stage.yml index d61566b289..af9ff3931f 100644 --- a/travis/.travis.tests-stage.yml +++ b/travis/.travis.tests-stage.yml @@ -18,7 +18,7 @@ jobs: bash scripts/startAlfresco.sh $ENTERPRISE_REPO_PATH false fi - bash scripts/waitForAlfrescoToStart.sh - script: mvn -B test -pl :alfresco-governance-services-automation-community-rest-api -Dskip.automationtests=false + script: travis_wait 40 mvn -B test -pl :alfresco-governance-services-automation-community-rest-api -Dskip.automationtests=false after_failure: docker ps -a | grep '_alfresco_1' | awk '{print $1}' | xargs docker logs | tail -5000 - name: "Enterprise Rest API Tests" @@ -32,7 +32,7 @@ jobs: - bash scripts/dockerLimitMemory.sh - sudo free -m -t script: - - mvn -B test -pl :alfresco-governance-services-automation-enterprise-rest-api -Dskip.automationtests=false + - travis_wait 90 mvn -B test -pl :alfresco-governance-services-automation-enterprise-rest-api -Dskip.automationtests=false after_failure: docker ps -a | grep '_alfresco_1' | awk '{print $1}' | xargs docker logs | tail -5000 addons: artifacts: