[ 
http://jira.jboss.com/jira/browse/JBAS-1378?page=comments#action_12316240 ]
     
Ovidiu Feodorov commented on JBAS-1378:
---------------------------------------

The current clustering target ("tests-clustering" of testsuite/build.xml) works 
by creating two server configuration node0 and node1, which both use the 
default UDP clustering stack (all/deploy/cluster-service.xml)

The way I would introduce a TCP-based clustering test is the following:

1. Add to all/deploy/cluster-service.xml an alternate TCP-based configuration. 
By default it will be commented out, but it will contain a well-configured TCP 
stack. People could actually uncomment it and use it in production, as is, or 
tweak around it.

2. Rewrite the current "tests-clustering" taks to accept a "stack" parameter, 
whose possible values are currently "udp" and "tcp". We could add more later. 
The task will create the apropriate configurations on disk.

3. The top clustering test target will look something like:

<target name="test-clustering-all-stacks">
     <antcall target="tests-clustering">
          <param name="stack" value="udp"/>
     </antcall>
     <antcall target="tests-clustering">
          <param name="stack" value="tcp"/>
     </antcall>
</target>    

Please let me know if this is what you had in mind when you created this task.

> Need tcp configuration variation of the cluster unit tests
> ----------------------------------------------------------
>
>          Key: JBAS-1378
>          URL: http://jira.jboss.com/jira/browse/JBAS-1378
>      Project: JBoss Application Server
>         Type: Bug
>   Components: Clustering
>     Reporter: Scott M Stark
>     Assignee: Bela Ban
>     Priority: Critical
>      Fix For: JBossAS-4.0.2 Final

>
>
> We are recommending tcp based jgroups configurations but there are no 
> variations of the existing unit tests for this. This needs to be addressed 
> for the 4.0.2 release.

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



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to