From 6ba91648376fcd6c7cda521915800d8b9c9b8df5 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Sat, 23 Jan 2016 09:31:39 -0500 Subject: [PATCH] make this test less anal about scores so the new DFI sim won't cause false failures --- .../test/org/apache/lucene/search/grouping/TestGrouping.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lucene/grouping/src/test/org/apache/lucene/search/grouping/TestGrouping.java b/lucene/grouping/src/test/org/apache/lucene/search/grouping/TestGrouping.java index a8711c5b1df..28425283fd7 100644 --- a/lucene/grouping/src/test/org/apache/lucene/search/grouping/TestGrouping.java +++ b/lucene/grouping/src/test/org/apache/lucene/search/grouping/TestGrouping.java @@ -176,8 +176,8 @@ public class TestGrouping extends LuceneTestCase { assertEquals(0, group.scoreDocs[0].doc); assertEquals(1, group.scoreDocs[1].doc); assertEquals(2, group.scoreDocs[2].doc); - assertTrue(group.scoreDocs[0].score > group.scoreDocs[1].score); - assertTrue(group.scoreDocs[1].score > group.scoreDocs[2].score); + assertTrue(group.scoreDocs[0].score >= group.scoreDocs[1].score); + assertTrue(group.scoreDocs[1].score >= group.scoreDocs[2].score); group = groups.groups[2]; compareGroupValue("author2", group);