You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/07/30 07:38:53 UTC
[lucene-solr] 05/16: @455 Tone down non Nightly run.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
commit 05549a6e92a06a5d0de5e0232a78d9de83a9b9d3
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Wed Jul 29 12:57:14 2020 -0500
@455 Tone down non Nightly run.
---
solr/core/src/test/org/apache/solr/search/TestStressLucene.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/solr/core/src/test/org/apache/solr/search/TestStressLucene.java b/solr/core/src/test/org/apache/solr/search/TestStressLucene.java
index af2ef1d..7bc4667 100644
--- a/solr/core/src/test/org/apache/solr/search/TestStressLucene.java
+++ b/solr/core/src/test/org/apache/solr/search/TestStressLucene.java
@@ -53,12 +53,12 @@ public class TestStressLucene extends TestRTGBase {
final int deletePercent = 4+random().nextInt(25);
final int deleteByQueryPercent = 1+random().nextInt(5);
final int ndocs = 5 + (random().nextBoolean() ? random().nextInt(25) : random().nextInt(200));
- int nWriteThreads = 5 + random().nextInt(25);
+ int nWriteThreads = TEST_NIGHTLY ? 5 + random().nextInt(25) : 3;
final int maxConcurrentCommits = nWriteThreads;
- final AtomicLong operations = new AtomicLong(100000); // number of query operations to perform in total
- int nReadThreads = 5 + random().nextInt(25);
+ final AtomicLong operations = new AtomicLong(TEST_NIGHTLY ? 100000 : 100); // number of query operations to perform in total
+ int nReadThreads = TEST_NIGHTLY ? 5 + random().nextInt(25) : 2;
final boolean tombstones = random().nextBoolean();
final boolean syncCommits = random().nextBoolean();