mirror of https://github.com/apache/lucene.git
LUCENE-3354: don't use such long strings in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158661 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cadb01d22b
commit
dfd24c6424
|
@ -277,10 +277,10 @@ public class TestFieldCache extends LuceneTestCase {
|
|||
s = unicodeStrings[random.nextInt(i)];
|
||||
}
|
||||
if (s == null) {
|
||||
s = _TestUtil.randomUnicodeString(random, 250);
|
||||
s = _TestUtil.randomUnicodeString(random);
|
||||
}
|
||||
} else {
|
||||
s = _TestUtil.randomUnicodeString(random, 250);
|
||||
s = _TestUtil.randomUnicodeString(random);
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue