Source:
public void testParallelPropagationTxNotificationsNotSentToAllRegionMembersWhenAddingParallelGatewaySenderThroughAttributesMutatorNoRedundancy() throws Exception { Integer lnPort = (Integer) vm0.invoke(() -> WANTestBase.createFirstLocatorWithDSId(1)); Integer nyPort = (Integer) vm1.invoke(() -> WANTestBase.createFirstRemoteLocator(2, lnPort)); createCacheInVMs(nyPort, vm2, vm3); createCacheInVMs(lnPort, vm4, vm5); vm4.invoke(() -> WANTestBase.createSender("ln", 2, true, 100, 10, false, false, null, true)); vm5.invoke(() -> WANTestBase.createSender("ln", 2, true, 100, 10, false, false, null, true)); vm4.invoke(createPartitionedRegionRedundancy0RunnableNoSenders()); vm5.invoke(createPartitionedRegionRedundancy0RunnableNoSenders()); vm2.invoke(createReceiverPartitionedRegionRedundancy1()); vm3.invoke(createReceiverPartitionedRegionRedundancy1()); vm4.invoke(() -> addSenderThroughAttributesMutator(getTestMethodName() + "_PR", "ln")); vm5.invoke(() -> addSenderThroughAttributesMutator(getTestMethodName() + "_PR", "ln")); startSenderInVMs("ln", vm4, vm5); vm4.invoke(waitForSenderRunnable()); vm5.invoke(waitForSenderRunnable()); vm4.invoke(() -> WANTestBase.doTxPuts(getTestMethodName() + "_PR")); vm4.invoke(() -> WANTestBase.validateRegionSize(getTestMethodName() + "_PR", 3)); vm4.invoke(() -> WANTestBase.verifyQueueSize("ln", 3)); vm2.invoke(() -> WANTestBase.validateRegionSize(getTestMethodName() + "_PR", 0)); vm2.invoke(() -> WANTestBase.validateRegionSize(getTestMethodName() + "_PR", 0)); vm4.invoke(() -> WANTestBase.validateEmptyBucketToTempQueueMap("ln")); vm5.invoke(() -> WANTestBase.validateEmptyBucketToTempQueueMap("ln")); }

Target:
public void testParallelPropagationTxNotificationsNotSentToAllRegionMembersWhenAddingParallelGatewaySenderThroughAttributesMutatorNoRedundancy() { Integer lnPort = vm0.invoke(() -> WANTestBase.createFirstLocatorWithDSId(1)); Integer nyPort = vm1.invoke(() -> WANTestBase.createFirstRemoteLocator(2, lnPort)); createCacheInVMs(nyPort, vm2, vm3); createCacheInVMs(lnPort, vm4, vm5); vm4.invoke(() -> WANTestBase.createSender("ln", 2, true, 100, 10, false, false, null, true)); vm5.invoke(() -> WANTestBase.createSender("ln", 2, true, 100, 10, false, false, null, true)); vm4.invoke(createPartitionedRegionRunnable(null, 0)); vm5.invoke(createPartitionedRegionRunnable(null, 0)); vm2.invoke(createReceiverPartitionedRegionRedundancy1()); vm3.invoke(createReceiverPartitionedRegionRedundancy1()); vm4.invoke(() -> addSenderThroughAttributesMutator(getTestMethodName() + "_PR", "ln")); vm5.invoke(() -> addSenderThroughAttributesMutator(getTestMethodName() + "_PR", "ln")); startSenderInVMs("ln", vm4, vm5); vm4.invoke(waitForSenderRunnable()); vm5.invoke(waitForSenderRunnable()); vm4.invoke(() -> WANTestBase.doTxPuts(getTestMethodName() + "_PR")); vm4.invoke(() -> WANTestBase.validateRegionSize(getTestMethodName() + "_PR", 3)); vm4.invoke(() -> WANTestBase.verifyQueueSize("ln", 3)); vm2.invoke(() -> WANTestBase.validateRegionSize(getTestMethodName() + "_PR", 0)); vm2.invoke(() -> WANTestBase.validateRegionSize(getTestMethodName() + "_PR", 0)); vm4.invoke(() -> WANTestBase.validateEmptyBucketToTempQueueMap("ln")); vm5.invoke(() -> WANTestBase.validateEmptyBucketToTempQueueMap("ln")); }