+ add support for two missing Pool properties (multi-user-authentication & prSingleHopEnabled)

This commit is contained in:
Costin Leau
2011-08-30 09:16:22 +03:00
parent 449275f226
commit 47535bff81
5 changed files with 27 additions and 1 deletions

View File

@@ -17,6 +17,7 @@
package org.springframework.data.gemfire.config;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.util.Collection;
@@ -64,6 +65,8 @@ public class PoolNamespaceTest {
assertEquals(6000, TestUtils.readField("freeConnectionTimeout", pfb));
assertEquals(5000l, TestUtils.readField("pingInterval", pfb));
assertTrue((Boolean) TestUtils.readField("subscriptionEnabled", pfb));
assertFalse((Boolean) TestUtils.readField("multiUserAuthentication", pfb));
assertTrue((Boolean) TestUtils.readField("prSingleHopEnabled", pfb));
Collection<PoolConnection> servers = TestUtils.readField("servers", pfb);
assertEquals(2, servers.size());