[ 
https://issues.apache.org/jira/browse/IGNITE-26591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksandr Chesnokov updated IGNITE-26591:
-----------------------------------------
    Description: 
PerformanceStatisticsThinClientTest#testCompute with 
[atomicityMode=ATOMIC]fails at PerformanceStatisticsThinClientTest.java:162
 
{noformat}
assertTrue(taskStartTime >= startTime);{noformat}

PerformanceStatisticsThinClientTest#afterTest doesn't call super.afterTest, so 
.prf files are not cleaned between tests. testCompute reads records from the 
previous test and fails.

To reproduce, run testCompute alone. It fails without the patch and passes with 
it

  was:
PerformanceStatisticsThinClientTest#testCompute with 
[atomicityMode=ATOMIC]fails at PerformanceStatisticsThinClientTest.java:162
 
{noformat}
assertTrue(taskStartTime >= startTime);{noformat}
The difference between taskStartTime and startTime can be about 100millis

It looks like using U.currentTimeMillis() can give some time inaccuracy


> PerformanceStatisticsThinClientTest#testCompute fails
> -----------------------------------------------------
>
>                 Key: IGNITE-26591
>                 URL: https://issues.apache.org/jira/browse/IGNITE-26591
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Aleksandr Chesnokov
>            Assignee: Aleksandr Chesnokov
>            Priority: Major
>              Labels: IEP-35
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> PerformanceStatisticsThinClientTest#testCompute with 
> [atomicityMode=ATOMIC]fails at PerformanceStatisticsThinClientTest.java:162
>  
> {noformat}
> assertTrue(taskStartTime >= startTime);{noformat}
> PerformanceStatisticsThinClientTest#afterTest doesn't call super.afterTest, 
> so .prf files are not cleaned between tests. testCompute reads records from 
> the previous test and fails.
> To reproduce, run testCompute alone. It fails without the patch and passes 
> with it



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

Reply via email to