Reduce the upper bounds on some randomized variables in FullSolrCloudDistribCmdsTest to reduce risk of OOM

This commit is contained in:
Chris Hostetter 2019-04-19 14:48:37 -07:00
parent c70d4700c9
commit dbf90a6e7b
1 changed files with 2 additions and 2 deletions

View File

@ -622,11 +622,11 @@ public class FullSolrCloudDistribCmdsTest extends AbstractFullDistribZkTestBase
@Override
public void run() {
int rnds = random().nextInt(TEST_NIGHTLY ? 25 : 3) + 1;
int rnds = random().nextInt(TEST_NIGHTLY ? 10 : 3) + 1;
for (int i = 0; i < rnds; i++) {
UpdateRequest uReq;
uReq = new UpdateRequest();
int cnt = random().nextInt(TEST_NIGHTLY ? 3313 : 350) + 1;
int cnt = random().nextInt(TEST_NIGHTLY ? 2000 : 200) + 1;
for (int j = 0; j <cnt; j++) {
addDoc("thread" + name + "_" + i + "_" + j, uReq);
}