mirror of https://github.com/apache/lucene.git
make this test less anal about scores so the new DFI sim won't cause false failures
This commit is contained in:
parent
f67f5adfe7
commit
6ba9164837
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue