geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject [10/14] geode git commit: GEODE-3474: Fixed failing tests
Date Tue, 22 Aug 2017 16:39:29 GMT
GEODE-3474: Fixed failing tests


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

Branch: refs/heads/feature/GEODE-3416
Commit: 5863fd5aa36a95676b45eb8e6ab88621ecdd58b6
Parents: 28616a2
Author: Udo Kohlmeyer <ukohlmeyer@pivotal.io>
Authored: Mon Aug 21 15:24:37 2017 -0700
Committer: Udo Kohlmeyer <ukohlmeyer@pivotal.io>
Committed: Mon Aug 21 15:24:37 2017 -0700

----------------------------------------------------------------------
 .../apache/geode/protocol/AuthenticationIntegrationTest.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/5863fd5a/geode-protobuf/src/test/java/org/apache/geode/protocol/AuthenticationIntegrationTest.java
----------------------------------------------------------------------
diff --git a/geode-protobuf/src/test/java/org/apache/geode/protocol/AuthenticationIntegrationTest.java
b/geode-protobuf/src/test/java/org/apache/geode/protocol/AuthenticationIntegrationTest.java
index 794375e..f138538 100644
--- a/geode-protobuf/src/test/java/org/apache/geode/protocol/AuthenticationIntegrationTest.java
+++ b/geode-protobuf/src/test/java/org/apache/geode/protocol/AuthenticationIntegrationTest.java
@@ -19,6 +19,7 @@ import org.apache.geode.cache.CacheFactory;
 import org.apache.geode.cache.server.CacheServer;
 import org.apache.geode.distributed.internal.DistributionConfig;
 import org.apache.geode.internal.AvailablePortHelper;
+import org.apache.geode.management.internal.security.ResourceConstants;
 import org.apache.geode.protocol.protobuf.AuthenticationAPI;
 import org.apache.geode.protocol.protobuf.ClientProtocol;
 import org.apache.geode.protocol.protobuf.ProtobufSerializationService;
@@ -70,8 +71,8 @@ public class AuthenticationIntegrationTest {
   public void setUp(String authenticationMode)
       throws IOException, CodecAlreadyRegisteredForTypeException {
     Properties expectedAuthProperties = new Properties();
-    expectedAuthProperties.setProperty("username", TEST_USERNAME);
-    expectedAuthProperties.setProperty("password", TEST_PASSWORD);
+    expectedAuthProperties.setProperty(ResourceConstants.USER_NAME, TEST_USERNAME);
+    expectedAuthProperties.setProperty(ResourceConstants.PASSWORD, TEST_PASSWORD);
 
     securityPrincipal = new Object();
     mockSecurityManager = mock(SecurityManager.class);


Mime
View raw message