mirror of
https://github.com/apache/lucene.git
synced 2025-03-01 05:49:33 +00:00
LUCENE-4066: compare actual # terms in the queue instead of unique terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1339779 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fc84112ece
commit
28b1e9e4ed
@ -68,7 +68,7 @@ public class TestDocumentsWriterDeleteQueue extends LuceneTestCase {
|
||||
assertAllBetween(last2, j, bd2, ids);
|
||||
last2 = j + 1;
|
||||
}
|
||||
assertEquals(uniqueValues.size(), queue.numGlobalTermDeletes());
|
||||
assertEquals(j+1, queue.numGlobalTermDeletes());
|
||||
}
|
||||
assertEquals(uniqueValues, bd1.terms.keySet());
|
||||
assertEquals(uniqueValues, bd2.terms.keySet());
|
||||
|
Loading…
x
Reference in New Issue
Block a user