From e18ff2877a484feebb52e65d024d0e48239973d2 Mon Sep 17 00:00:00 2001 From: Stefan Vodita Date: Thu, 4 Apr 2024 18:44:51 +0000 Subject: [PATCH] Fix more tests relying on float order of operations --- .../lucene/facet/taxonomy/TestTaxonomyFacetAssociations.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/TestTaxonomyFacetAssociations.java b/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/TestTaxonomyFacetAssociations.java index 690abd37e4bb..9c9484a64f66 100644 --- a/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/TestTaxonomyFacetAssociations.java +++ b/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/TestTaxonomyFacetAssociations.java @@ -359,7 +359,7 @@ public void testFloatAssociationRandom() throws Exception { // test getAllDims and getTopDims List topDims = facets.getTopDims(10, 10); List allDims = facets.getAllDims(10); - assertEquals(topDims, allDims); + assertFloatFacetResultsEqual(topDims, allDims); // MAX: facets = @@ -676,7 +676,7 @@ private void assertFloatFacetResultsEqual(List expected, List