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

ASF subversion and git services commented on LUCENE-10316:
----------------------------------------------------------

Commit 6e7789013b76bd9548cbe51684445bb25df8db05 in lucene's branch 
refs/heads/branch_9x from Patrick Zhai
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=6e77890 ]

LUCENE-10316: fix TestLRUQueryCache.testCachingAccountableQuery failure (#542)



> fix TestLRUQueryCache.testCachingAccountableQuery failure
> ---------------------------------------------------------
>
>                 Key: LUCENE-10316
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10316
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/search
>            Reporter: Haoyu Zhai
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> I saw this build failure: 
> [https://jenkins.thetaphi.de/job/Lucene-9.x-Linux/348/]
> with following stack trace
> {code:java}
> java.lang.AssertionError: expected:<1388880.0> but was:<1544976.0>
>       at 
> __randomizedtesting.SeedInfo.seed([F7826B1EB37D545A:995B6ED46A95D1A0]:0)
>       at org.junit.Assert.fail(Assert.java:89)
>       at org.junit.Assert.failNotEquals(Assert.java:835)
>       at org.junit.Assert.assertEquals(Assert.java:577)
>       at org.junit.Assert.assertEquals(Assert.java:701)
>       at 
> org.apache.lucene.search.TestLRUQueryCache.testCachingAccountableQuery(TestLRUQueryCache.java:570)
>       at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>       at 
> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1754)
>       at 
> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:942)
>       at 
> com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:978)
>       at 
> com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:992)
> ...
> NOTE: reproduce with: gradlew test --tests 
> TestLRUQueryCache.testCachingAccountableQuery -Dtests.seed=F7826B1EB37D545A 
> -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=ckb-IR 
> -Dtests.timezone=Africa/Dakar -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8 {code}
> It does not reproduce on my laptop on current main branch, but since the test 
> is comparing an estimation with a 10% slack, it can fail for sure sometime.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to