IGNITE-8042: .NET: Thin client: authentication support - fix 
TestAuthenticationEmptyCredentials


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/6072af82
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/6072af82
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/6072af82

Branch: refs/heads/ignite-2.5
Commit: 6072af825ca1507ad9d8143ca73e556539960e1d
Parents: 0a64e4a
Author: Pavel Tupitsyn <ptupit...@apache.org>
Authored: Fri Apr 13 13:36:20 2018 +0300
Committer: Pavel Tupitsyn <ptupit...@apache.org>
Committed: Fri Apr 13 13:38:14 2018 +0300

----------------------------------------------------------------------
 .../dotnet/Apache.Ignite.Core.Tests/Client/ClientConnectionTest.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/6072af82/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/ClientConnectionTest.cs
----------------------------------------------------------------------
diff --git 
a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/ClientConnectionTest.cs
 
b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/ClientConnectionTest.cs
index 0a6b1a7..67d1c52 100644
--- 
a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/ClientConnectionTest.cs
+++ 
b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/ClientConnectionTest.cs
@@ -100,7 +100,7 @@ namespace Apache.Ignite.Core.Tests.Client
 
                 cliCfg.UserName = null;
                 ex = Assert.Throws<IgniteClientException>(() => { 
Ignition.StartClient(cliCfg); });
-                
Assert.IsTrue(ex.Message.StartsWith("IgniteClientConfiguration.Username cannot 
be null"));
+                
Assert.IsTrue(ex.Message.StartsWith("IgniteClientConfiguration.UserName cannot 
be null"));
 
                 cliCfg.UserName = "";
                 ex = Assert.Throws<IgniteClientException>(() => { 
Ignition.StartClient(cliCfg); });

Reply via email to