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

TestTaxonomyFacetAssociations test failure

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 10.0 (main), 9.2
    • None
    • None
    • New

    Description

      TestTaxonomyFacetAssociations.testFloatAssociationRandom seems to have some flakiness, it fails on the following random seed.

      ./gradlew test --tests TestTaxonomyFacetAssociations.testFloatAssociationRandom \ 
      -Dtests.seed=4DFBA8209AC82EB2 -Dtests.slow=true -Dtests.locale=fr-VU \
      -Dtests.timezone=Europe/Athens -Dtests.asserts=true -Dtests.file.encoding=UTF-8 

      This is because of a mismatch in (SUM) aggregated multi-valued, float_random facet field. We accept an error delta of 1 in this aggregation, but for the failing random seed, the delta is 1.3. Maybe we should change this delta to 1.5?

      My hunch is that it is some floating point approximation error. I'm unable to repro it without the randomization seed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vigyas Vigya Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            4 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 - 2h 20m
                2h 20m