Apache Solr open-source search software
LUCENE-3496: Replaced generating simple string with realistic unicode strings.
Martijn van Groningenb3a07fad1fa4
diff --git a/modules/grouping/src/test/org/apache/lucene/search/grouping/TestGrouping.java b/modules/grouping/src/test/org/apache/lucene/search/grouping/TestGrouping.javaindex eb605cae285..216eea907d9 100644--- a/modules/grouping/src/test/org/apache/lucene/search/grouping/TestGrouping.java+++ b/modules/grouping/src/test/org/apache/lucene/search/grouping/TestGrouping.java@@ -672,8 +672,7 @@ public class TestGrouping extends LuceneTestCase {do {// B/c of DV based impl we can't see the difference between an empty string and a null value.// For that reason we don't generate empty string groups.-// randomValue = _TestUtil.randomRealisticUnicodeString(random);- randomValue = _TestUtil.randomSimpleString(random);+ randomValue = _TestUtil.randomRealisticUnicodeString(random);} while ("".equals(randomValue));groups.add(new BytesRef(randomValue));