You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ji...@apache.org on 2016/07/08 15:51:38 UTC

[18/50] [abbrv] incubator-geode git commit: Merge remote-tracking branch 'origin/feature/GEODE-1571' into feature/GEODE-1571

Merge remote-tracking branch 'origin/feature/GEODE-1571' into feature/GEODE-1571

# Conflicts:
#	geode-core/src/test/java/com/gemstone/gemfire/security/IntegratedClientGetClientPartitionAttrCmdAuthDistributedTest.java


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/0345bab1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/0345bab1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/0345bab1

Branch: refs/heads/develop
Commit: 0345bab11f5f48cf716407f0dee97af31f445eb3
Parents: 3483b11 6c16f6f
Author: Kevin J. Duling <kd...@pivotal.io>
Authored: Mon Jun 27 15:24:23 2016 -0700
Committer: Kevin J. Duling <kd...@pivotal.io>
Committed: Mon Jun 27 15:24:23 2016 -0700

----------------------------------------------------------------------
 ...ractIntegratedClientAuthDistributedTest.java | 29 +++++++++++---------
 ...tegratedClientGetAllAuthDistributedTest.java | 22 +++++----------
 ...ientPartitionAttrCmdAuthDistributedTest.java | 17 ++----------
 ...ntegratedClientQueryAuthDistributedTest.java | 18 ++++++------
 4 files changed, 34 insertions(+), 52 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/0345bab1/geode-core/src/test/java/com/gemstone/gemfire/security/IntegratedClientGetClientPartitionAttrCmdAuthDistributedTest.java
----------------------------------------------------------------------
diff --cc geode-core/src/test/java/com/gemstone/gemfire/security/IntegratedClientGetClientPartitionAttrCmdAuthDistributedTest.java
index edfa72a,b69e521..52c4a0c
--- a/geode-core/src/test/java/com/gemstone/gemfire/security/IntegratedClientGetClientPartitionAttrCmdAuthDistributedTest.java
+++ b/geode-core/src/test/java/com/gemstone/gemfire/security/IntegratedClientGetClientPartitionAttrCmdAuthDistributedTest.java
@@@ -32,13 -29,8 +29,8 @@@ public class IntegratedClientGetClientP
  
    @Test
    public void testGetClientPartitionAttrCmd() {
 -    client1.invoke("logging in super-user with correct password", () -> {
 +    client1.invoke("logging in stranger", () -> {
-       ClientCache cache = new ClientCacheFactory(createClientProperties("stranger", "1234567"))
-         .setPoolSubscriptionEnabled(true)
-         .addPoolServer("localhost", serverPort)
-         .create();
- 
-       Region region = cache.createClientRegionFactory(ClientRegionShortcut.PROXY).create(REGION_NAME);
+       ClientCache cache =createClientCache("stranger", "1234567", serverPort);
  
        assertNotAuthorized(() -> GetClientPartitionAttributesOp.execute((PoolImpl)cache.getDefaultPool(), REGION_NAME), "CLUSTER:READ");
      });