You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2017/10/12 23:15:30 UTC
[geode-native] branch develop updated: GEODE-3424: Fixes
SetAuthInitialize test.
This is an automated email from the ASF dual-hosted git repository.
jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push:
new 7a4be5a GEODE-3424: Fixes SetAuthInitialize test.
7a4be5a is described below
commit 7a4be5af7e743c1a3d4a7d286d0a3ae711ba8196
Author: Jacob Barrett <jb...@pivotal.io>
AuthorDate: Thu Oct 12 23:15:08 2017 +0000
GEODE-3424: Fixes SetAuthInitialize test.
---
.../ThinClientSecurityAuthSetAuthInitializeTests.cs | 4 ++--
tests/cli/SecurityUtil/AuthzCredentialGeneratorN.cs | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/clicache/integration-test/ThinClientSecurityAuthSetAuthInitializeTests.cs b/clicache/integration-test/ThinClientSecurityAuthSetAuthInitializeTests.cs
index 662c860..8bfc668 100644
--- a/clicache/integration-test/ThinClientSecurityAuthSetAuthInitializeTests.cs
+++ b/clicache/integration-test/ThinClientSecurityAuthSetAuthInitializeTests.cs
@@ -100,10 +100,10 @@ namespace Apache.Geode.Client.UnitTests
Util.Log("Cacheserver 1 started.");
- m_client1.Call(CreateClient, RegionName, CacheHelper.Locators);
+ m_client1.Call(AssertAuthInitializeCalled, false);
+ m_client1.Call(CreateClient, RegionName, CacheHelper.Locators);
// Perform some put operations from client1
- //m_client1.Call(AssertAuthInitializeCalled, false);
m_client1.Call(DoPuts, 4);
m_client1.Call(AssertAuthInitializeCalled, true);
diff --git a/tests/cli/SecurityUtil/AuthzCredentialGeneratorN.cs b/tests/cli/SecurityUtil/AuthzCredentialGeneratorN.cs
index 84ad334..e826be6 100644
--- a/tests/cli/SecurityUtil/AuthzCredentialGeneratorN.cs
+++ b/tests/cli/SecurityUtil/AuthzCredentialGeneratorN.cs
@@ -399,22 +399,22 @@ namespace Apache.Geode.Client.Tests
string args = string.Empty;
if (authenticator != null && authenticator.Length > 0)
{
- args += (" security-client-authenticator=" + authenticator);
+ args += (" --J=-Dgemfire.security-client-authenticator=" + authenticator);
}
if (accessor != null && accessor.Length > 0)
{
- args += (" security-client-accessor=" + accessor);
+ args += (" --J=-Dgemfire.security-client-accessor=" + accessor);
}
if (accessorPP != null && accessorPP.Length > 0)
{
- args += (" security-client-accessor-pp=" + accessorPP);
+ args += (" --J=-Dgemfire.security-client-accessor-pp=" + accessorPP);
}
if (extraProps != null)
{
PropertyVisitorGeneric<string, string> visitor =
delegate(string key, string value)
{
- args += (' ' + key.ToString() + '=' + value);
+ args += (" --J=-D" + key.ToString() + '=' + value);
};
extraProps.ForEach(visitor);
}
@@ -423,7 +423,7 @@ namespace Apache.Geode.Client.Tests
PropertyVisitorGeneric<string, string> visitor =
delegate(string key, string value)
{
- args += (" -J-D" + key.ToString() + '=' + value);
+ args += (" --J=-D" + key.ToString() + '=' + value);
};
javaProps.ForEach(visitor);
}
--
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].