From 8d82fd8807a5945edce8de2739875babf7fb8b00 Mon Sep 17 00:00:00 2001 From: John Blum Date: Wed, 19 Sep 2018 17:50:56 -0700 Subject: [PATCH] Do not mock Pool.socketConnectTimeout and Pool.subscriptionTimeoutMultiplier with SD Kay. --- .../data/gemfire/tests/mock/PoolMockObjects.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/mock/PoolMockObjects.java b/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/mock/PoolMockObjects.java index 8ef1032..7716919 100644 --- a/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/mock/PoolMockObjects.java +++ b/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/mock/PoolMockObjects.java @@ -75,13 +75,13 @@ public abstract class PoolMockObjects extends MockObjectsSupport { when(mockPool.getServerGroup()).thenReturn(serverGroup); when(mockPool.getServers()).thenReturn(servers); when(mockPool.getSocketBufferSize()).thenReturn(socketBufferSize); - when(mockPool.getSocketConnectTimeout()).thenReturn(socketConnectTimeout); + //when(mockPool.getSocketConnectTimeout()).thenReturn(socketConnectTimeout); when(mockPool.getStatisticInterval()).thenReturn(statisticInterval); when(mockPool.getSubscriptionAckInterval()).thenReturn(subscriptionAckInterval); when(mockPool.getSubscriptionEnabled()).thenReturn(subscriptionEnabled); when(mockPool.getSubscriptionMessageTrackingTimeout()).thenReturn(subscriptionMessageTrackingTimeout); when(mockPool.getSubscriptionRedundancy()).thenReturn(subscriptionRedundancy); - when(mockPool.getSubscriptionTimeoutMultiplier()).thenReturn(subscriptionTimeoutMultiplier); + //when(mockPool.getSubscriptionTimeoutMultiplier()).thenReturn(subscriptionTimeoutMultiplier); when(mockPool.getThreadLocalConnections()).thenReturn(threadLocalConnections); doAnswer(newSetter(destroyed, true)).when(mockPool).destroy();