-
Task
-
Resolution: Done
-
Optional
-
None
-
None
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.
- relates to
-
JBPAPP-715 Cluster testsuite HA-JNDI clients should limit autodiscovery to their partition
- Resolved