You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by "Thomas Schapitz (JIRA)" <ca...@jakarta.apache.org> on 2004/12/07 08:12:12 UTC

[jira] Commented: (CACTUS-134) custom hostname to run test by task

     [ http://nagoya.apache.org/jira/browse/CACTUS-134?page=comments#action_56311 ]
     
Thomas Schapitz commented on CACTUS-134:
----------------------------------------

This is a duplicate of 'Cactus-81'. I'm attaching a patch to 'Cactus-81' fixing exactly this shortly.

> custom hostname to run test by <cactus> task
> --------------------------------------------
>
>          Key: CACTUS-134
>          URL: http://nagoya.apache.org/jira/browse/CACTUS-134
>      Project: Cactus
>         Type: Improvement
>   Components: Ant Integration
>  Environment: Linux 2.4, JBoss 3.2.5
>     Reporter: Maxim Gordienko
>     Priority: Minor

>
> When starting container to run tests <cactus> ant task always tries to connect "http://locahost:<port>/<context>" even if container does not listen localhost interface.
> Connection to localhost is hardcoded in CactusTask class:
> http://localhost:" + containers[i].getPort() + "/" 
>    + thisDeployable.getTestContext()
> Configuring hostname via <cactus> task attribute can be useful to run tests against container run on "dummy" interface or remote container.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org