Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e1f81b7
Speed up DistributedCombinedQueryComponentTest from 80s to 10s
janhoy Jun 2, 2026
3672ebd
Reduce RandomizedTaggerTest @Repeat to 2 for regular CI; add nightly …
janhoy Jun 2, 2026
aa2397a
Reduce TestSolr4Spatial2 @Repeat to 2 for regular CI; add nightly sub…
janhoy Jun 2, 2026
62bef76
Reduce SpatialHeatmapFacetsTest @Repeat to 1 for regular CI; add nigh…
janhoy Jun 2, 2026
47090e8
Reduce CloudExitableDirectoryReaderTest @Repeat to 2 for regular CI; …
janhoy Jun 2, 2026
8e59e40
Move RollingRestartTest to @Nightly: runs 2 restarts in reduced mode,…
janhoy Jun 2, 2026
223600a
Move SyncSliceTest to @Nightly: 37s at reduced 4-shard config, too sl…
janhoy Jun 2, 2026
d04d606
Move RecoveryZkTest to @Nightly: non-nightly run skips most test logi…
janhoy Jun 2, 2026
7e4c584
Add @Nightly to UnloadDistributedZkTest
janhoy Jun 2, 2026
04649e5
Add @Nightly to SolrAndKafkaIntegrationTest
janhoy Jun 2, 2026
71ed99e
Add @Nightly to GCSIncrementalBackupTest
janhoy Jun 2, 2026
f908b93
Add @Nightly to S3IncrementalBackupTest
janhoy Jun 2, 2026
618b8d0
Add @Nightly to BadClusterTest
janhoy Jun 2, 2026
0bd8775
Add @Nightly to PerReplicaStatesIntegrationTest
janhoy Jun 2, 2026
7737019
Add @Nightly to TestPullReplica
janhoy Jun 2, 2026
c285186
Apply tidy formatting (import ordering)
janhoy Jun 2, 2026
631668b
Reduce repeat count to 1 for non-nightly
janhoy Jun 2, 2026
3bd0ca6
Use text blocks for JSON query strings in DistributedCombinedQueryCom…
janhoy Jun 2, 2026
5598e1d
Merge branch 'main' into feature/improve-test-speed
janhoy Jun 4, 2026
6f04f12
RAT skip check in non-traced files
janhoy Jun 4, 2026
aa18c5d
Combine tests for multiple query execution,
janhoy Jun 4, 2026
c0cd670
Merge six tests into one to save startup and indexing cost
janhoy Jun 4, 2026
c6e28c2
Revert RAT changes
janhoy Jun 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.solr.cloud;

import com.carrotsearch.randomizedtesting.annotations.Repeat;
import org.apache.lucene.tests.util.LuceneTestCase.Nightly;
import org.junit.Test;

/**
* Nightly variant of {@link CloudExitableDirectoryReaderTest} that runs {@code testCreepThenBite}
* the full 5 iterations.
*/
@Nightly
public class CloudExitableDirectoryReaderNightlyTest extends CloudExitableDirectoryReaderTest {

@Test
@Repeat(iterations = 5)
@Override
public void testCreepThenBite() throws Exception {
super.testCreepThenBite();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public void testClearbox() throws Exception {
}

@Test
@Repeat(iterations = 5)
@Repeat(iterations = 1)
public void testCreepThenBite() throws Exception {
int creep = 100;
ModifiableSolrParams params = params("q", "{!cache=false}name:a*");
Expand Down
2 changes: 2 additions & 0 deletions solr/core/src/test/org/apache/solr/cloud/RecoveryZkTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.apache.lucene.tests.util.LuceneTestCase.Nightly;
import org.apache.solr.client.solrj.SolrClient;
import org.apache.solr.client.solrj.apache.CloudLegacySolrClient;
import org.apache.solr.client.solrj.apache.HttpSolrClient;
Expand All @@ -36,6 +37,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Nightly
public class RecoveryZkTest extends SolrCloudTestCase {

private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.apache.lucene.tests.util.LuceneTestCase.Nightly;
import org.apache.solr.client.solrj.request.CollectionAdminRequest;
import org.apache.solr.common.cloud.SolrZkClient;
import org.apache.solr.common.cloud.ZkStateReader;
Expand All @@ -28,6 +29,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Nightly
public class RollingRestartTest extends AbstractFullDistribZkTestBase {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

Expand Down
2 changes: 2 additions & 0 deletions solr/core/src/test/org/apache/solr/cloud/SyncSliceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.stream.Collectors;
import org.apache.lucene.tests.util.LuceneTestCase.Nightly;
import org.apache.solr.client.solrj.SolrClient;
import org.apache.solr.client.solrj.SolrRequest;
import org.apache.solr.client.solrj.SolrServerException;
Expand All @@ -44,6 +45,7 @@
import org.slf4j.LoggerFactory;

/** Test sync phase that occurs when Leader goes down and a new Leader is elected. */
@Nightly
@LogLevel("org.apache.solr.update.processor.DistributedZkUpdateProcessor=WARN")
public class SyncSliceTest extends AbstractFullDistribZkTestBase {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
Expand Down
2 changes: 2 additions & 0 deletions solr/core/src/test/org/apache/solr/cloud/TestPullReplica.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.stream.Collectors;
import org.apache.lucene.tests.util.LuceneTestCase.Nightly;
import org.apache.solr.client.solrj.SolrClient;
import org.apache.solr.client.solrj.SolrServerException;
import org.apache.solr.client.solrj.request.CollectionAdminRequest;
Expand Down Expand Up @@ -67,6 +68,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Nightly
@LogLevel(
"org.apache.solr.handler.ReplicationHandler=DEBUG;org.apache.solr.handler.IndexFetcher=DEBUG")
public class TestPullReplica extends SolrCloudTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import org.apache.lucene.tests.util.LuceneTestCase.Nightly;
import org.apache.solr.SolrTestCaseJ4.SuppressSSL;
import org.apache.solr.client.solrj.SolrClient;
import org.apache.solr.client.solrj.SolrServerException;
Expand All @@ -53,6 +54,7 @@
* This test simply does a bunch of basic things in solrcloud mode and asserts things work as
* expected.
*/
@Nightly
@SuppressSSL(bugUrl = "https://issues.apache.org/jira/browse/SOLR-5776")
public class UnloadDistributedZkTest extends AbstractFullDistribZkTestBase {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
Expand Down
Loading
Loading