You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2024/06/27 13:45:43 UTC

(ignite) branch master updated: IGNITE-22586 .NET: Fix build failure due to ComputeTaskSessionTest (#11409)

This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 456b76c3539 IGNITE-22586 .NET: Fix build failure due to ComputeTaskSessionTest (#11409)
456b76c3539 is described below

commit 456b76c3539dcc3772e3beae8081266f393754a5
Author: Ilya Shishkov <sh...@gmail.com>
AuthorDate: Thu Jun 27 16:45:35 2024 +0300

    IGNITE-22586 .NET: Fix build failure due to ComputeTaskSessionTest (#11409)
---
 .../dotnet/Apache.Ignite.Core.Tests/Compute/ComputeTaskSessionTest.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/ComputeTaskSessionTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/ComputeTaskSessionTest.cs
index 341b636a78d..e336b52a6f1 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/ComputeTaskSessionTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/ComputeTaskSessionTest.cs
@@ -100,7 +100,7 @@ namespace Apache.Ignite.Core.Tests.Compute
             /// <inheritdoc />
             protected override ICollection<IComputeJob<int>> Split(int gridSize, int attrValue)
             {
-                _taskSession.SetAttributes(KeyValuePair.Create(_attrName, attrValue));
+                _taskSession.SetAttributes(new KeyValuePair<string, int>(_attrName, attrValue));
                 return new List<IComputeJob<int>> {new SessionAttributeGetterJob(_attrName)};
             }
         }
@@ -124,4 +124,4 @@ namespace Apache.Ignite.Core.Tests.Compute
             public override int Execute() => _taskSession.GetAttribute<string, int>(_attrName);
         }
     }
-}
\ No newline at end of file
+}