[jboss-jira] [JBoss JIRA] Created: (JBAS-5335) Cluster testsuite HA-JNDI clients should limit autodiscovery to their partition
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Thu Mar 20 23:04:51 EDT 2008
Cluster testsuite HA-JNDI clients should limit autodiscovery to their partition
-------------------------------------------------------------------------------
Key: JBAS-5335
URL: http://jira.jboss.com/jira/browse/JBAS-5335
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Clustering, Test Suite
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Priority: Optional
Fix For: JBossAS-5.0.0.GA
Tests that use HA-JNDI autodiscovery should add jnp.partitionName to their naming properties, so the naming clients can reject autodiscovery responses from random other servers that happen to be running. Eliminate spurious test failures.
This involves adding a new ant property "partitionName" that can be set via testsuite/local.properties or via -D. This value then gets passed to the cluster servers as -Djboss.partition.name and also is passed as a system property to the test client. Different test runs (e.g. different hudson runs) can use different partitionName values to ensure their HA-JNDI clients only discover the relevant server.
Biggest task here is cleaning up a few other tests that assume the partition name is "DefaultPartition". This will only be done for the clustering tests, as my intent is to only set jboss.partition.name on the cluster test server configs.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list