iverase opened a new pull request, #14419: URL: https://github.com/apache/lucene/pull/14419
I notice the following error in CI: ``` ./gradlew test --tests TestVectorUtilSupport.testBinaryVectors -Dtests.seed=B12D50704230E803 -Dtests.locale=ce -Dtests.timezone=SystemV/AST4 -Dtests.asserts=true -Dtests.file.encoding=UTF-8 > java.lang.AssertionError: > Expected: a numeric value within <1.0E-5> of <NaN> > but: <NaN> differed by <NaN> more than delta <1.0E-5> > at __randomizedtesting.SeedInfo.seed([B12D50704230E803:FF2F6188C28072F0]:0) > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) > at org.junit.Assert.assertThat(Assert.java:964) > at org.junit.Assert.assertThat(Assert.java:930) > at org.apache.lucene.internal.vectorization.TestVectorUtilSupport.assertFloatReturningProviders(TestVectorUtilSupport.java:213) > at org.apache.lucene.internal.vectorization.TestVectorUtilSupport.testBinaryVectors(TestVectorUtilSupport.java:71) > at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ``` To avoid this, this commit makes `assertFloatReturningProviders` resilient to NaN results. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org