mirror of https://github.com/apache/lucene.git
test-bug - o f*** random testing kicks in
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404524 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bebdb3707a
commit
344f8f07e1
|
@ -287,7 +287,7 @@ public class TermsFilterTest extends LuceneTestCase {
|
||||||
TermsFilter right = termsFilter(singleField ? random().nextBoolean() : false, terms);
|
TermsFilter right = termsFilter(singleField ? random().nextBoolean() : false, terms);
|
||||||
assertEquals(right, left);
|
assertEquals(right, left);
|
||||||
assertEquals(right.hashCode(), left.hashCode());
|
assertEquals(right.hashCode(), left.hashCode());
|
||||||
if (i > 0) {
|
if (uniqueTerms.size() > 1) {
|
||||||
List<Term> asList = new ArrayList<Term>(uniqueTerms);
|
List<Term> asList = new ArrayList<Term>(uniqueTerms);
|
||||||
asList.remove(0);
|
asList.remove(0);
|
||||||
TermsFilter notEqual = termsFilter(singleField ? random().nextBoolean() : false, asList);
|
TermsFilter notEqual = termsFilter(singleField ? random().nextBoolean() : false, asList);
|
||||||
|
|
Loading…
Reference in New Issue