Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-10310

CI error in TestXYDocValuesQueries#testRandomDistanceHuge

Details

    • Test
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 9.1
    • None
    • None
    • New

    Description

      Reproducible error in:

       
      ./gradlew :lucene:core:test --tests "org.apache.lucene.search.TestXYDocValuesQueries.testRandomDistanceHuge" -Ptests.jvms=4 -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=1491381ABA418A11 -Ptests.nightly=true -Ptests.file.encoding=ISO-8859-1
      Error is:

       
      org.apache.lucene.search.TestXYDocValuesQueries > testRandomDistanceHuge FAILED
      java.lang.IllegalArgumentException: radius must be bigger than 0, got 0.0
       

      It seems the test can produce circles with radius 0 which is not allowed, I push a fix shortly.

      Attachments

        Issue Links

          Activity

            People

              ivera Ignacio Vera
              ivera Ignacio Vera
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m