You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2013/06/24 12:47:19 UTC

[jira] [Commented] (OFBIZ-4794) set different ports for testing in a CI environment (e.g. Jenkins)

    [ https://issues.apache.org/jira/browse/OFBIZ-4794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13691876#comment-13691876 ] 

Jacques Le Roux commented on OFBIZ-4794:
----------------------------------------

Attached is a patch, if nobody sees a better way to do this I will commit it. I still have to test 2 tests intance running locally though (will take more than 1 hour I guess...)

The idea is to use something like
{code}
ant run-tests -Doffsetport=10000
{code}
or
{code}
"C:\Program Files\Java\jdk1.6.0_22\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m -jar ofbiz.jar -test -portoffset=10000
{code}

This will allow to run the Builbots tests simultaneously on the same VM using ant. The same idea could be used to run the demos, but would need more work (to pass the ofbiz.admin.port value for instance, not a big deal). I will certainly do it as a 1st step of OFBIZ-4763...
                
> set different ports for testing in a CI environment (e.g. Jenkins)
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-4794
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4794
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Pierre Smits
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-4794 - test port.patch, OFBIZ-4794-test-ports.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In order to run test targets in Jenkins we need to change ports for at least ajp, http and https in test-containers.xml as these ports are most likely to be already in use by the CI server.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira