ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [06/50] ignite git commit: Fix test
Date Wed, 13 Apr 2016 14:53:05 GMT
Fix test


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

Branch: refs/heads/ignite-2977
Commit: 148bd26c478e0a219ac727bab3f58fd15fe8f2b2
Parents: 5ac5540
Author: Pavel Tupitsyn <ptupitsyn@gridgain.com>
Authored: Tue Apr 12 17:46:46 2016 +0300
Committer: Pavel Tupitsyn <ptupitsyn@gridgain.com>
Committed: Tue Apr 12 17:46:46 2016 +0300

----------------------------------------------------------------------
 .../Compute/MixedClusterQueryTest.cs                      | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/148bd26c/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/MixedClusterQueryTest.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/MixedClusterQueryTest.cs
b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/MixedClusterQueryTest.cs
index 0ab9d9e..bc424cc 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/MixedClusterQueryTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/MixedClusterQueryTest.cs
@@ -51,13 +51,21 @@ namespace Apache.Ignite.Core.Tests.Compute
         {
             var cfg = new IgniteConfiguration(TestUtils.GetTestConfiguration()) {SpringConfigUrl
= SpringConfig};
 
+            var cfg2 = new IgniteConfiguration(TestUtils.GetTestConfiguration())
+            {
+                SpringConfigUrl = SpringConfig2,
+                GridName = "dotNet2"
+            };
+
+            // 3 nodes: check local, remote, Java remote filters.
             using (var ignite = Ignition.Start(cfg))
+            using (Ignition.Start(cfg2))
             {
                 var javaNodeName = ignite.GetCompute().ExecuteJavaTask<string>(StartTask,
SpringConfig2);
 
                 try
                 {
-                    Assert.IsTrue(ignite.WaitTopology(2));
+                    Assert.IsTrue(ignite.WaitTopology(3));
 
                     TestJavaObjects(ignite);
                 }


Mime
View raw message