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

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


The following commit(s) were added to refs/heads/ignite-27278 by this push:
     new 2a260203c20 wip PartitionManagerTests
2a260203c20 is described below

commit 2a260203c20e9e769aa58bc771cf179623202a61
Author: Pavel Tupitsyn <[email protected]>
AuthorDate: Wed Dec 24 12:31:48 2025 +0200

    wip PartitionManagerTests
---
 .../dotnet/Apache.Ignite.Tests/Table/PartitionManagerTests.cs      | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git 
a/modules/platforms/dotnet/Apache.Ignite.Tests/Table/PartitionManagerTests.cs 
b/modules/platforms/dotnet/Apache.Ignite.Tests/Table/PartitionManagerTests.cs
index d78c69a0a01..5797a5dac2a 100644
--- 
a/modules/platforms/dotnet/Apache.Ignite.Tests/Table/PartitionManagerTests.cs
+++ 
b/modules/platforms/dotnet/Apache.Ignite.Tests/Table/PartitionManagerTests.cs
@@ -23,6 +23,7 @@ using System.Linq;
 using System.Net;
 using System.Threading.Tasks;
 using Common.Compute;
+using Common.Table;
 using Compute;
 using Ignite.Compute;
 using Ignite.Table;
@@ -114,14 +115,16 @@ public class PartitionManagerTests : IgniteTestsBase
     }
 
     [Test]
-    public async Task TestGetPartitionForKey([Values(true, false)] bool poco)
+    public async Task TestGetPartitionForKey([Values(true, false)] bool poco, 
[Values(true, false)] bool withMapper)
     {
         var jobTarget = JobTarget.AnyNode(await Client.GetClusterNodesAsync());
 
         for (int id = 0; id < 30; id++)
         {
             var partition = poco
-                ? await Table.PartitionManager.GetPartitionAsync(GetPoco(id))
+                ? withMapper
+                    ? await 
Table.PartitionManager.GetPartitionAsync(GetPoco(id), new PocoMapper())
+                    : await 
Table.PartitionManager.GetPartitionAsync(GetPoco(id))
                 : await Table.PartitionManager.GetPartitionAsync(GetTuple(id));
 
             var partitionJobExec = await Client.Compute.SubmitAsync(jobTarget, 
JavaJobs.PartitionJob, id);

Reply via email to