You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2021/11/21 18:44:11 UTC

[ignite] branch master updated: IGNITE-15941 Fixed flaky test Flaky test FailureProcessorThreadDumpThrottlingTest.testThrottlingPerFailureType

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

agura 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 9c04b2a  IGNITE-15941 Fixed flaky test Flaky test FailureProcessorThreadDumpThrottlingTest.testThrottlingPerFailureType
9c04b2a is described below

commit 9c04b2a48c3b17859d95a5771e90e44c464cf235
Author: Andrey Gura <ag...@apache.org>
AuthorDate: Wed Nov 17 22:44:33 2021 +0300

    IGNITE-15941 Fixed flaky test Flaky test FailureProcessorThreadDumpThrottlingTest.testThrottlingPerFailureType
---
 .../org/apache/ignite/internal/processors/failure/FailureProcessor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/failure/FailureProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/failure/FailureProcessor.java
index 1ee04b1..0240ede 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/failure/FailureProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/failure/FailureProcessor.java
@@ -239,7 +239,7 @@ public class FailureProcessor extends GridProcessorAdapter {
         if (dumpThreadsTrottlingTimeout <= 0)
             return false;
 
-        long curr = U.currentTimeMillis();
+        long curr = System.currentTimeMillis();
 
         Long last = threadDumpPerFailureTypeTs.get(type);