kukushal commented on a change in pull request #7844:
URL: https://github.com/apache/ignite/pull/7844#discussion_r431068318



##########
File path: 
modules/platforms/dotnet/Apache.Ignite.Core.Tests/Services/ServicesTest.cs
##########
@@ -413,6 +413,50 @@ public void TestDuckTyping([Values(true, false)] bool 
local)
             Assert.IsInstanceOf<InvalidCastException>(ex.InnerException);
         }
 
+        /// <summary>
+        /// Test call service proxy from remote node with a methods having an 
array of user types and objects.
+        /// </summary>
+        [Test]
+        public void TestCallServiceProxyWithMethodsHavingArrays()
+        {
+            // Deploy to the remote node.
+            var nodeId = Grid2.GetCluster().GetLocalNode().Id;
+
+            var cluster = Grid1.GetCluster().ForNodeIds(nodeId);
+
+            cluster.GetServices().DeployNodeSingleton(SvcName, new 
TestIgniteServiceArraySerializable());
+
+            var typedArray = new[] {10, 11, 12}
+                .Select(x => new PlatformComputeBinarizable {Field = 
x}).ToArray();
+
+            var objArray = typedArray.ToArray<object>();
+
+            var prx = 
Services.GetServiceProxy<ITestIgniteServiceArray>(SvcName);

Review comment:
       Can we repeat these checks in "keep binary" mode as well? (with 
   var binPrx = 
Services.WithKeepBinary().GetServiceProxy<ITestIgniteServiceArray>(SvcName);




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to