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/29 17:57:30 UTC
[lucene-solr] branch reference_impl_dev updated: @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_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl_dev by this push:
new a1a2cf2 @455 Tone down non Nightly run.
a1a2cf2 is described below
commit a1a2cf2ed531902d0ded986f005f442de0a0d51c
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();