From b3a07fad1fa43836c92f16662fc0d51e69d942df Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Thu, 8 Dec 2011 17:18:19 +0000 Subject: [PATCH] LUCENE-3496: Replaced generating simple string with realistic unicode strings. git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1211993 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/org/apache/lucene/search/grouping/TestGrouping.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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.java index 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));