Fixed a test - wrong user

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

Branch: refs/heads/feature/GEODE-1571
Commit: 3879310817c38ae35d8f72f0914069de29f1e10f
Parents: bad0a92
Author: Kevin J. Duling <kdul...@pivotal.io>
Authored: Wed Jun 29 14:04:46 2016 -0700
Committer: Kevin J. Duling <kdul...@pivotal.io>
Committed: Wed Jun 29 14:04:46 2016 -0700

----------------------------------------------------------------------
 .../security/IntegratedClientSizeAuthDistributedTest.java      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/38793108/geode-core/src/test/java/com/gemstone/gemfire/security/IntegratedClientSizeAuthDistributedTest.java
----------------------------------------------------------------------
diff --git 
a/geode-core/src/test/java/com/gemstone/gemfire/security/IntegratedClientSizeAuthDistributedTest.java
 
b/geode-core/src/test/java/com/gemstone/gemfire/security/IntegratedClientSizeAuthDistributedTest.java
index 96ea297..d0624a9 100644
--- 
a/geode-core/src/test/java/com/gemstone/gemfire/security/IntegratedClientSizeAuthDistributedTest.java
+++ 
b/geode-core/src/test/java/com/gemstone/gemfire/security/IntegratedClientSizeAuthDistributedTest.java
@@ -34,9 +34,9 @@ public class IntegratedClientSizeAuthDistributedTest extends 
AbstractIntegratedC
   public void testSize() throws InterruptedException {
 
     AsyncInvocation ai1 = client1.invokeAsync(() -> {
-      ClientCache cache = new 
ClientCacheFactory(createClientProperties("stranger", 
"1234567")).setPoolSubscriptionEnabled(true)
-                                                                               
                .addPoolServer("localhost", serverPort)
-                                                                               
                .create();
+      ClientCache cache = new 
ClientCacheFactory(createClientProperties("dataWriter", 
"1234567")).setPoolSubscriptionEnabled(true)
+                                                                               
                  .addPoolServer("localhost", serverPort)
+                                                                               
                  .create();
 
       assertNotAuthorized(() -> SizeOp.execute((InternalPool) 
cache.getDefaultPool(), REGION_NAME), "DATA:READ:AuthRegion");
     });

Reply via email to