SOLR-5920: Fix forbidden-api-check failure

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582951 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2014-03-29 04:18:21 +00:00
parent 145dcab3ca
commit 8a328c9318
1 changed files with 2 additions and 1 deletions

View File

@ -44,6 +44,7 @@ import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Collection; import java.util.Collection;
import java.util.Collections; import java.util.Collections;
import java.util.Locale;
import java.util.Map; import java.util.Map;
import java.util.UUID; import java.util.UUID;
@ -966,7 +967,7 @@ public class CursorPagingTest extends SolrTestCaseJ4 {
} }
private static String dateWithRandomSecondOn2010_10_31_at_10_31() { private static String dateWithRandomSecondOn2010_10_31_at_10_31() {
return String.format("2010-10-31T10:31:%02d.000Z", return String.format(Locale.ROOT, "2010-10-31T10:31:%02d.000Z",
TestUtil.nextInt(random(), 0, 59)); TestUtil.nextInt(random(), 0, 59));
} }