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:
Simon Willnauer 2012-05-17 18:33:15 +00:00
parent fc84112ece
commit 28b1e9e4ed
1 changed files with 1 additions and 1 deletions

View File

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