SOLR-5794: dial back the randomized constants so we don't blow up the world when running with -Dnightly=true -Dtests.multiplier=2

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572775 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2014-02-27 22:57:05 +00:00
parent 06173592e3
commit 474373d7b3
2 changed files with 5 additions and 5 deletions

View File

@ -554,7 +554,7 @@ public class CursorPagingTest extends SolrTestCaseJ4 {
final Collection<String> allFieldNames = getAllSortFieldNames();
final int initialDocs = TestUtil.nextInt(random(), 100, 200);
final int totalDocs = atLeast(5000);
final int totalDocs = atLeast(500);
// start with a smallish number of documents, and test that we can do a full walk using a
// sort on *every* field in the schema...
@ -585,7 +585,7 @@ public class CursorPagingTest extends SolrTestCaseJ4 {
}
assertU(commit());
final int numRandomSorts = atLeast(5);
final int numRandomSorts = atLeast(3);
for (int i = 0; i < numRandomSorts; i++) {
final String sort = buildRandomSort(allFieldNames);
final String rows = "" + TestUtil.nextInt(random(), 63, 113);
@ -950,7 +950,7 @@ public class CursorPagingTest extends SolrTestCaseJ4 {
Collections.shuffle(shuffledNames, random());
final StringBuilder result = new StringBuilder();
final int numClauses = atLeast(2);
final int numClauses = TestUtil.nextInt(random(), 2, 5);
for (int i = 0; i < numClauses; i++) {
String field = shuffledNames.get(i);

View File

@ -518,7 +518,7 @@ public class DistribCursorPagingTest extends AbstractFullDistribZkTestBase {
final Collection<String> allFieldNames = getAllSortFieldNames();
final int numInitialDocs = TestUtil.nextInt(random(), 100, 200);
final int totalDocs = atLeast(5000);
final int totalDocs = atLeast(500);
// start with a smallish number of documents, and test that we can do a full walk using a
// sort on *every* field in the schema...
@ -575,7 +575,7 @@ public class DistribCursorPagingTest extends AbstractFullDistribZkTestBase {
}
commit();
final int numRandomSorts = atLeast(5);
final int numRandomSorts = atLeast(3);
for (int i = 0; i < numRandomSorts; i++) {
final String sort = CursorPagingTest.buildRandomSort(allFieldNames);
final String rows = "" + TestUtil.nextInt(random(), 63, 113);