benwtrent opened a new issue, #14402:
URL: https://github.com/apache/lucene/issues/14402

   ### Description
   
   ```
   TestVectorUtilSupport > testMinMaxScalarQuantize {p0=4096} FAILED
       java.lang.AssertionError:
       Expected: a numeric value within <0.004096> of <762.170654296875>
            but: <762.1751708984375> differed by <4.206015625000002E-4> more 
than delta <0.004096>
           at 
__randomizedtesting.SeedInfo.seed([C8353109B2DC21F4:77130CBE78E61421]: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.testMinMaxScalarQuantize(TestVectorUtilSupport.java:206)
           at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
           at java.base/java.lang.reflect.Method.invoke(Method.java:580)
   ```
   
   Seems like a simple epsilon correction. 
   
   ### Gradle command to reproduce
   
   ```
   ./gradlew :lucene:core:test --tests 
"org.apache.lucene.internal.vectorization.TestVectorUtilSupport.testMinMaxScalarQuantize
 {p0=4096}" -Ptests.jvms=5 "-Ptests.jvmargs=-XX:TieredStopAtLevel=1 
-XX:+UseParallelGC -XX:ActiveProcessorCount=1" -Ptests.seed=C8353109B2DC21F4 
-Ptests.useSecurityManager=true -Ptests.gui=false -Ptests.file.encoding=UTF-8 
-Ptests.vectorsize=512 -Ptests.forceintegervectors=true
   ```


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

Reply via email to