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

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

Commit dcd9e3d6f752677bd098afbce24e1556e23ba1ba in lucene's branch 
refs/heads/main from Mayya Sharipova
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=dcd9e3d ]

LUCENE-10389 Adjust TestHnswGraph.testRandom (#626)

Before PR #608 this test when searching HnswGraph was using
numSeed (the search queue size) equal to 100.
This patch returns the original value of the search queue to 100,
and gets the top topK results from it.

> Assertion failure in TestHnswGraph.testRandom
> ---------------------------------------------
>
>                 Key: LUCENE-10389
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10389
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Tomoko Uchida
>            Priority: Minor
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> I cannot reproduce it but observed the assertion on the random vectors 
> sometimes fails on the Jenkins server (possibly the threshold is too 
> restrictive?)
> An example stacktrace:
> {code:java}
> Build: [https://jenkins.thetaphi.de/job/Lucene-main-Linux/32393/]
> Java: 64bit/jdk-17.0.1 -XX:+UseCompressedOops -XX:+UseParallelGC
> 1 tests failed.
> FAILED:  org.apache.lucene.util.hnsw.TestHnswGraph.testRandom
> Error Message:
> java.lang.AssertionError: overlap=0.664
> Stack Trace:
> java.lang.AssertionError: overlap=0.664
>         at 
> __randomizedtesting.SeedInfo.seed([8F4015D8D5C8F033:FD0C30D764A84640]:0)
>         at org.junit.Assert.fail(Assert.java:89)
>         at org.junit.Assert.assertTrue(Assert.java:42)
>         at 
> org.apache.lucene.util.hnsw.TestHnswGraph.testRandom(TestHnswGraph.java:401)
> {code}



--
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