Fix mock ServerMetrics getMaxConnections() and getSubscriptionConnectionCount() return values.

This commit is contained in:
John Blum
2018-09-19 13:04:22 -07:00
parent a233949add
commit 8625d89a9c

View File

@@ -124,8 +124,8 @@ public abstract class CacheServerMockObjects extends MockObjectsSupport {
when(mockServerMetrics.getClientCount()).thenReturn(clientCount);
when(mockServerMetrics.getConnectionCount()).thenReturn(connectionCount);
when(mockServerMetrics.getMaxConnections()).thenReturn(connectionCount);
when(mockServerMetrics.getSubscriptionConnectionCount()).thenReturn(connectionCount);
when(mockServerMetrics.getMaxConnections()).thenReturn(maxConnections);
when(mockServerMetrics.getSubscriptionConnectionCount()).thenReturn(subscriptionConnectionCount);
return mockServerMetrics;
}