mirror of https://github.com/apache/lucene.git
SOLR-8546: TestLazyCores is failing a lot on the Jenkins cluster.
This commit is contained in:
parent
b76f64fdc0
commit
caec6b40fd
|
@ -50,6 +50,8 @@ Bug Fixes
|
||||||
* SOLR-9234: srcField parameter works only when all fields are captured in the /update/json/docs
|
* SOLR-9234: srcField parameter works only when all fields are captured in the /update/json/docs
|
||||||
endpoint (noble)
|
endpoint (noble)
|
||||||
|
|
||||||
|
* SOLR-8546: SOLR-8546: TestLazyCores is failing a lot on the Jenkins cluster. (Erick Erickson)
|
||||||
|
|
||||||
Optimizations
|
Optimizations
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -668,7 +668,9 @@ public class TestLazyCores extends SolrTestCaseJ4 {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testMidUseUnload() throws Exception {
|
public void testMidUseUnload() throws Exception {
|
||||||
final int maximumSleepMillis = random().nextInt(10000); // sleep for up to 10 s
|
final int maximumSleepMillis = random().nextInt(9999) + 1; // sleep for up to 10 s Must add 1 because using
|
||||||
|
// this as a seed will rea few lines down will
|
||||||
|
// throw an exception if this is zero
|
||||||
if (VERBOSE) {
|
if (VERBOSE) {
|
||||||
System.out.println("TestLazyCores.testMidUseUnload maximumSleepMillis="+maximumSleepMillis);
|
System.out.println("TestLazyCores.testMidUseUnload maximumSleepMillis="+maximumSleepMillis);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue