This is an automated email from the ASF dual-hosted git repository.
janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 01489de29c7 Remove commented-out @BadApple annotations (#5335)
01489de29c7 is described below
commit 01489de29c7922373323b484d823ee70f3257342
Author: Jan Høydahl <[email protected]>
AuthorDate: Fri Nov 13 20:35:04 2026 +0100
Remove commented-out @BadApple annotations (#5335)
---
.../src/test/org/apache/solr/cloud/MissingSegmentRecoveryTest.java | 1 -
.../core/src/test/org/apache/solr/cloud/PeerSyncReplicationTest.java | 1 -
solr/core/src/test/org/apache/solr/cloud/TestSegmentSorting.java | 1 -
.../org/apache/solr/cloud/api/collections/CustomCollectionTest.java | 1 -
.../cloud/api/collections/TestCollectionsAPIViaSolrCloudCluster.java | 1 -
.../src/test/org/apache/solr/handler/TestReplicationHandler.java | 1 -
solr/core/src/test/org/apache/solr/schema/TestCloudSchemaless.java | 1 -
.../modules/ltr/src/test/org/apache/solr/ltr/TestLTROnSolrCloud.java | 5 -----
8 files changed, 12 deletions(-)
diff --git
a/solr/core/src/test/org/apache/solr/cloud/MissingSegmentRecoveryTest.java
b/solr/core/src/test/org/apache/solr/cloud/MissingSegmentRecoveryTest.java
index 8f35dafd537..605e318aa3f 100644
--- a/solr/core/src/test/org/apache/solr/cloud/MissingSegmentRecoveryTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/MissingSegmentRecoveryTest.java
@@ -108,7 +108,6 @@ public class MissingSegmentRecoveryTest extends
SolrCloudTestCase {
}
@Test
- // 12-Jun-2018
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
public void testLeaderRecovery() throws Exception {
System.setProperty("CoreInitFailedAction", "fromleader");
diff --git
a/solr/core/src/test/org/apache/solr/cloud/PeerSyncReplicationTest.java
b/solr/core/src/test/org/apache/solr/cloud/PeerSyncReplicationTest.java
index c217ebb2487..5584b347760 100644
--- a/solr/core/src/test/org/apache/solr/cloud/PeerSyncReplicationTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/PeerSyncReplicationTest.java
@@ -92,7 +92,6 @@ public class PeerSyncReplicationTest extends
AbstractFullDistribZkTestBase {
}
@Test
- // commented 2-Aug-2018
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
public void test() throws Exception {
handle.clear();
handle.put("timestamp", SKIPVAL);
diff --git a/solr/core/src/test/org/apache/solr/cloud/TestSegmentSorting.java
b/solr/core/src/test/org/apache/solr/cloud/TestSegmentSorting.java
index 3ea8a91919a..55e32ad5ab0 100644
--- a/solr/core/src/test/org/apache/solr/cloud/TestSegmentSorting.java
+++ b/solr/core/src/test/org/apache/solr/cloud/TestSegmentSorting.java
@@ -162,7 +162,6 @@ public class TestSegmentSorting extends SolrCloudTestCase {
* sorting
*/
@Test
- // 12-Jun-2018
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") //
26-Mar-2018
public void testAtomicUpdateOfSegmentSortField() throws Exception {
final CloudSolrClient cloudSolrClient = cluster.getSolrClient();
diff --git
a/solr/core/src/test/org/apache/solr/cloud/api/collections/CustomCollectionTest.java
b/solr/core/src/test/org/apache/solr/cloud/api/collections/CustomCollectionTest.java
index 29c9ee04505..c51c22b63aa 100644
---
a/solr/core/src/test/org/apache/solr/cloud/api/collections/CustomCollectionTest.java
+++
b/solr/core/src/test/org/apache/solr/cloud/api/collections/CustomCollectionTest.java
@@ -49,7 +49,6 @@ public class CustomCollectionTest extends SolrCloudTestCase {
}
@Test
- // 12-Jun-2018
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") //
21-May-2018
public void testCustomCollectionsAPI() throws Exception {
final String collection = "implicitcoll";
diff --git
a/solr/core/src/test/org/apache/solr/cloud/api/collections/TestCollectionsAPIViaSolrCloudCluster.java
b/solr/core/src/test/org/apache/solr/cloud/api/collections/TestCollectionsAPIViaSolrCloudCluster.java
index 747d7a9a8cb..98f69e95ea1 100644
---
a/solr/core/src/test/org/apache/solr/cloud/api/collections/TestCollectionsAPIViaSolrCloudCluster.java
+++
b/solr/core/src/test/org/apache/solr/cloud/api/collections/TestCollectionsAPIViaSolrCloudCluster.java
@@ -181,7 +181,6 @@ public class TestCollectionsAPIViaSolrCloudCluster extends
SolrCloudTestCase {
}
@Test
- // 12-Jun-2018
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") //
09-Apr-2018
public void testCollectionCreateWithoutCoresThenDelete() throws Exception {
final String collectionName = "testSolrCloudCollectionWithoutCores";
diff --git
a/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
b/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
index b531dc113f0..0467699fc10 100644
--- a/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
+++ b/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
@@ -1300,7 +1300,6 @@ public class TestReplicationHandler extends
SolrTestCaseJ4 {
}
@Test
- // 12-Jun-2018
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") //
04-May-2018
public void doTestIndexAndConfigAliasReplication() throws Exception {
clearIndexWithReplication();
diff --git a/solr/core/src/test/org/apache/solr/schema/TestCloudSchemaless.java
b/solr/core/src/test/org/apache/solr/schema/TestCloudSchemaless.java
index 3cdc8be26e4..f4af4629f10 100644
--- a/solr/core/src/test/org/apache/solr/schema/TestCloudSchemaless.java
+++ b/solr/core/src/test/org/apache/solr/schema/TestCloudSchemaless.java
@@ -74,7 +74,6 @@ public class TestCloudSchemaless extends
AbstractFullDistribZkTestBase {
@Test
@ShardsFixed(num = 8)
- // 12-Jun-2018
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") //
04-May-2018
public void test() throws Exception {
setupRestTestHarnesses();
diff --git
a/solr/modules/ltr/src/test/org/apache/solr/ltr/TestLTROnSolrCloud.java
b/solr/modules/ltr/src/test/org/apache/solr/ltr/TestLTROnSolrCloud.java
index df7dba8a830..dce8647d23d 100644
--- a/solr/modules/ltr/src/test/org/apache/solr/ltr/TestLTROnSolrCloud.java
+++ b/solr/modules/ltr/src/test/org/apache/solr/ltr/TestLTROnSolrCloud.java
@@ -34,11 +34,6 @@ public class TestLTROnSolrCloud extends
AbstractLTRSolrCloudTestBase {
}
@Test
- // commented 4-Sep-2018
- //
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
//
- // 2-Aug-2018
- // commented out on: 24-Dec-2018
- // @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") //
14-Oct-2018
public void testSimpleQuery() throws Exception {
// will randomly pick a configuration with [1..5] shards and [1..3]
replicas