[ 
https://issues.apache.org/jira/browse/IGNITE-29084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18126200#comment-18126200
 ] 

Ignite TC Bot commented on IGNITE-29084:
----------------------------------------

{panel:title=Branch: [pull/13639/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/13639/head] Base: [master] : New Tests 
(2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Basic 1{color} [[tests 
2|https://ci2.ignite.apache.org/viewLog.html?buildId=9405990]]
* {color:#013220}IgniteBasicTestSuite: 
IgniteClockTimerTest.testLeakedNodeDoesNotFreezeClock - PASSED{color}
* {color:#013220}IgniteBasicTestSuite: 
IgniteClockTimerTest.testInternalClockNotStartedWithTestClock - PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=9406135&buildTypeId=IgniteTests24Java8_RunAll]
{color:#ffffff}tcbot-analysis-comment chainBuildId=9406135 
rerunBuildIds=none{color}

> Possible to obtain non updatable U.currentTimeMillis() 
> -------------------------------------------------------
>
>                 Key: IGNITE-29084
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29084
>             Project: Ignite
>          Issue Type: Improvement
>          Components: general
>            Reporter: Evgeny Stanilovsky
>            Assignee: Reza Taroosheh
>            Priority: Major
>              Labels: ignite-2
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Seems we can obtain situation when 
> {code:java}
> U.currentTimeMillis() 
> {code}
> become unupdatable:
> on test start call : Ignition.start(...
> on test\all test from class are finished NOT to call: 
> {code:java}
>     @AfterAll
>     public static void tearDown() {
>         IgnitionEx.stopAll(true, null);
>     }
> {code}
> After this : 
> org.apache.ignite.internal.util.CommonUtils#onGridStart
> we obtain false on static field comparison
> {code:java}
> if (gridCnt == 0)
> {code}
> so nodoby will initialize:
> {code:java}
>                 timer = new IgniteThread(igniteInstanceName, "ignite-clock", 
> () -> {
>                     while (!IgniteThread.currentThread().isInterrupted()) {
>                         curTimeMillis = System.currentTimeMillis();
> {code}
> cause nobody will call :
> {code:java}
> org.apache.ignite.internal.util.CommonUtils#onGridStop
> {code}
> a bit different description can be found here : 
> https://github.com/apache/ignite/pull/13602#discussion_r4132424359



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to