infinispan/infinispan — pull request #1351 by anistor (2012-09-28 14:59:32+00:00)
Title:     ISPN-2350  MultiNodeDistributedTest fails because InfinispanCommandsBackend.getPrimaryNodeAddress() does not honor CH updates

* Fix InfinispanCommandsBackend to use DistributionManager.getPrimaryLocation(..) instead of the cached ConsistentHash.locatePrimaryOwner(..). This is needed in order to take topology changes into account.

* Enable org.infinispan.query.distributed.MultiNodeDistributedTest

* Enable org.infinispan.query.distributed.MultiNodeReplicatedTest

This solves JIRA issues:
https://issues.jboss.org/browse/ISPN-2350
https://issues.jboss.org/browse/ISPN-2248