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:
Robert Muir 2011-08-17 12:39:09 +00:00
parent cadb01d22b
commit dfd24c6424
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}