diff --git a/core/src/test/java/org/infinispan/distribution/groups/BaseUtilGroupTest.java b/core/src/test/java/org/infinispan/distribution/groups/BaseUtilGroupTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/org/infinispan/distribution/groups/BaseUtilGroupTest.java
+++ b/core/src/test/java/org/infinispan/distribution/groups/BaseUtilGroupTest.java
@@ -123,7 +123,7 @@ public abstract class BaseUtilGroupTest extends MultipleCacheManagersTest {
                DistributionInfo distributionInfo = distributionManager.getCacheTopology().getDistribution(groupName);
                if (primaryOwner == null && distributionInfo.isPrimary()) {
                   primaryOwner = cache;
-               } else if (nonOwner == null && distributionInfo.isWriteOwner()) {
+               } else if (nonOwner == null && !distributionInfo.isWriteOwner()) {
                   nonOwner = cache.getAdvancedCache();
                }
                if (primaryOwner != null && nonOwner != null) {
ISPN-<I> Fix the the non-owner cache selection in BaseUtilGroupTest