You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (Jira)" <ji...@apache.org> on 2022/08/04 14:14:00 UTC

[jira] [Commented] (OAK-9879) CacheLIRS statistics may return incorrect load count

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

Marcel Reutegger commented on OAK-9879:
---------------------------------------

Ignored test that reproduces the issue in https://github.com/apache/jackrabbit-oak/pull/650

> CacheLIRS statistics may return incorrect load count
> ----------------------------------------------------
>
>                 Key: OAK-9879
>                 URL: https://issues.apache.org/jira/browse/OAK-9879
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core-spi
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>
> FileCacheTest in oak-blob-plugins sometimes fails with
> {noformat}
> java.lang.AssertionError: expected:<2> but was:<1>
> 	at org.junit.Assert.fail(Assert.java:89)
> 	at org.junit.Assert.failNotEquals(Assert.java:835)
> 	at org.junit.Assert.assertEquals(Assert.java:647)
> 	at org.junit.Assert.assertEquals(Assert.java:633)
> 	at org.apache.jackrabbit.oak.plugins.blob.FileCacheTest.assertCacheStats(FileCacheTest.java:566)
> 	at org.apache.jackrabbit.oak.plugins.blob.FileCacheTest.getDifferentConcurrent(FileCacheTest.java:267)
> {noformat}
> I can reproduce locally when running the test repeatedly. 



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