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 <[email protected]>
Authored: Tue Apr 12 17:46:46 2016 +0300
Committer: Pavel Tupitsyn <[email protected]>
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);
                 }

Reply via email to