Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5335

Cluster testsuite HA-JNDI clients should limit autodiscovery to their partition

XMLWordPrintable

      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.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: