mirror of https://github.com/apache/lucene.git
Reduce the upper bounds on some randomized variables in FullSolrCloudDistribCmdsTest to reduce risk of OOM
This commit is contained in:
parent
c70d4700c9
commit
dbf90a6e7b
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue