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 2025/07/23 04:58:48 UTC

(ignite-3) branch main updated: IGNITE-25932 .NET: Fix TestJobExecutionStatusExecuting flakiness on Windows (#6296)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 717c7d31ee1 IGNITE-25932 .NET: Fix TestJobExecutionStatusExecuting flakiness on Windows (#6296)
717c7d31ee1 is described below

commit 717c7d31ee1f324dd5cc8efbfe22a0c2e848212d
Author: Pavel Tupitsyn <pt...@apache.org>
AuthorDate: Wed Jul 23 07:58:42 2025 +0300

    IGNITE-25932 .NET: Fix TestJobExecutionStatusExecuting flakiness on Windows (#6296)
---
 modules/platforms/dotnet/Apache.Ignite.Tests/Compute/ComputeTests.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/platforms/dotnet/Apache.Ignite.Tests/Compute/ComputeTests.cs b/modules/platforms/dotnet/Apache.Ignite.Tests/Compute/ComputeTests.cs
index a907b38d644..87b36746fde 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Tests/Compute/ComputeTests.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Tests/Compute/ComputeTests.cs
@@ -1113,9 +1113,9 @@ namespace Apache.Ignite.Tests.Compute
         {
             var instant = SystemClock.Instance.GetCurrentInstant();
 
-            // Subtract 1 milli to account for OS-specific time resolution differences in .NET and Java.
+            // Subtract 1 second to account for OS-specific time resolution differences in .NET and Java.
             return OperatingSystem.IsWindows()
-                ? instant.Minus(Duration.FromMilliseconds(1))
+                ? instant.Minus(Duration.FromSeconds(1))
                 : instant;
         }