mirror of https://github.com/apache/lucene.git
fix one more use of wrong random
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1162158 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ce6064442b
commit
fbd84ca66d
|
@ -111,7 +111,7 @@ public class TestIndexWriterExceptions extends LuceneTestCase {
|
||||||
|
|
||||||
doc.add(newField(r, "content7", "aaa bbb ccc ddd", Field.Store.NO, Field.Index.NOT_ANALYZED, Field.TermVector.WITH_POSITIONS_OFFSETS));
|
doc.add(newField(r, "content7", "aaa bbb ccc ddd", Field.Store.NO, Field.Index.NOT_ANALYZED, Field.TermVector.WITH_POSITIONS_OFFSETS));
|
||||||
|
|
||||||
final Field idField = newField("id", "", Field.Store.YES, Field.Index.NOT_ANALYZED);
|
final Field idField = newField(r, "id", "", Field.Store.YES, Field.Index.NOT_ANALYZED);
|
||||||
doc.add(idField);
|
doc.add(idField);
|
||||||
|
|
||||||
final long stopTime = System.currentTimeMillis() + 500;
|
final long stopTime = System.currentTimeMillis() + 500;
|
||||||
|
|
Loading…
Reference in New Issue