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

Julian Reschke edited comment on OAK-10181 at 8/21/23 12:14 PM:
----------------------------------------------------------------

So it seems that the actual problem is in the test case; it uses 
jackrabbit-data's RandomInputStream with System.currentTimeMillis as seeds for 
two streams which are supposed to be different. However, the return value can 
be the same, either because the system is really fast, or the time resolution 
is >> 1ms, as usually under Windows.


was (Author: reschke):
So it seems that the acual problem is in the test case; it uses 
jackrabbit-data's RandomInputStream with System.currentTimeMillis as seeds for 
two streams which are supposed to be different. However, the return value can 
be the same, either because the system is really fast, or the time resolution 
is >> 1ms, as usually under Windows.

> Flaky test: DataStoreBlobStoreStatsTest
> ---------------------------------------
>
>                 Key: OAK-10181
>                 URL: https://issues.apache.org/jira/browse/OAK-10181
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: blob-plugins
>    Affects Versions: 1.50.0
>            Reporter: Joerg Hoh
>            Assignee: Julian Reschke
>            Priority: Major
>             Fix For: 1.56.0
>
>
> ...continues to be a problem over here.
> [~mreutegg] - would it make sense to increase the timeout again? (as per 
> https://github.com/apache/jackrabbit-oak/pull/655/files)?



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

Reply via email to