make this test less anal about scores so the new DFI sim won't cause false failures

This commit is contained in:
Michael McCandless 2016-01-23 09:31:39 -05:00 committed by Dawid Weiss
parent f67f5adfe7
commit 6ba9164837
1 changed files with 2 additions and 2 deletions

View File

@ -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);