mirror of https://github.com/apache/lucene.git
SOLR-12028: BadApple and AwaitsFix annotations usage
This commit is contained in:
parent
52f9cee97b
commit
9f615fbae7
|
@ -219,6 +219,7 @@ public class DeleteReplicaTest extends SolrCloudTestCase {
|
|||
@Test
|
||||
@Slow
|
||||
//28-June-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 21-May-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
public void raceConditionOnDeleteAndRegisterReplica() throws Exception {
|
||||
raceConditionOnDeleteAndRegisterReplica("true");
|
||||
raceConditionOnDeleteAndRegisterReplica("false");
|
||||
|
|
|
@ -66,6 +66,7 @@ public class LegacyCloudClusterPropTest extends SolrCloudTestCase {
|
|||
|
||||
@Test
|
||||
//2018-06-18 (commented) @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
public void testCreateCollectionSwitchLegacyCloud() throws Exception {
|
||||
createAndTest("legacyTrue", true);
|
||||
createAndTest("legacyFalse", false);
|
||||
|
|
|
@ -67,6 +67,7 @@ public class MoveReplicaHDFSTest extends MoveReplicaTest {
|
|||
@Test
|
||||
//2018-06-18 (commented) @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 21-May-2018
|
||||
//commented 9-Aug-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Jul-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
public void testNormalFailedMove() throws Exception {
|
||||
inPlaceMove = false;
|
||||
testFailedMove();
|
||||
|
|
|
@ -27,7 +27,6 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.solr.client.solrj.SolrClient;
|
||||
import org.apache.solr.client.solrj.SolrQuery;
|
||||
import org.apache.solr.client.solrj.SolrServerException;
|
||||
|
@ -238,7 +237,7 @@ public class MoveReplicaTest extends SolrCloudTestCase {
|
|||
// @AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/SOLR-11458")
|
||||
@Test
|
||||
// 12-Jun-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 17-Mar-2018 This JIRA is fixed, but this test still fails
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
//17-Aug-2018 commented @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
public void testFailedMove() throws Exception {
|
||||
String coll = getTestClass().getSimpleName() + "_failed_coll_" + inPlaceMove;
|
||||
int REPLICATION = 2;
|
||||
|
|
|
@ -59,6 +59,7 @@ public class MultiThreadedOCPTest extends AbstractFullDistribZkTestBase {
|
|||
|
||||
@Test
|
||||
// commented 20-July-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
@ShardsFixed(num = 4)
|
||||
public void test() throws Exception {
|
||||
testParallelCollectionAPICalls();
|
||||
|
|
|
@ -45,7 +45,7 @@ public class TestLeaderInitiatedRecoveryThread extends AbstractFullDistribZkTest
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 09-Apr-2018
|
||||
//17-Aug-2018 commented @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 09-Apr-2018
|
||||
public void testPublishDownState() throws Exception {
|
||||
waitForRecoveriesToFinish(true);
|
||||
|
||||
|
|
|
@ -676,6 +676,7 @@ public class AutoScalingHandlerTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
public void testReadApi() throws Exception {
|
||||
CloudSolrClient solrClient = cluster.getSolrClient();
|
||||
// first trigger
|
||||
|
|
|
@ -273,7 +273,7 @@ public class SearchRateTriggerIntegrationTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 21-May-2018
|
||||
//17-Aug-2018 commented @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 21-May-2018
|
||||
public void testBelowSearchRate() throws Exception {
|
||||
CloudSolrClient solrClient = cluster.getSolrClient();
|
||||
String COLL1 = "belowRate_collection";
|
||||
|
|
|
@ -27,7 +27,6 @@ import java.util.concurrent.TimeUnit;
|
|||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.solr.client.solrj.SolrClient;
|
||||
import org.apache.solr.client.solrj.SolrRequest;
|
||||
import org.apache.solr.client.solrj.SolrResponse;
|
||||
|
@ -254,7 +253,7 @@ public class TestComputePlanAction extends SimSolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 28-June-2018
|
||||
//17-Aug-2018 commented @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 28-June-2018
|
||||
public void testNodeAdded() throws Exception {
|
||||
AssertingTriggerAction.expectedNode = null;
|
||||
SolrClient solrClient = cluster.simGetSolrClient();
|
||||
|
|
|
@ -19,6 +19,7 @@ package org.apache.solr.cloud.hdfs;
|
|||
import java.io.IOException;
|
||||
|
||||
import org.apache.hadoop.hdfs.MiniDFSCluster;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.Slow;
|
||||
import org.apache.solr.cloud.BasicDistributedZk2Test;
|
||||
import org.apache.solr.util.BadHdfsThreadsFilter;
|
||||
|
@ -34,6 +35,7 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
|
|||
BadHdfsThreadsFilter.class // hdfs currently leaks thread(s)
|
||||
})
|
||||
// commented 20-July-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 26-Mar-2018
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
public class HdfsBasicDistributedZk2Test extends BasicDistributedZk2Test {
|
||||
private static MiniDFSCluster dfsCluster;
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ public class TestDynamicLoading extends AbstractFullDistribZkTestBase {
|
|||
|
||||
@Test
|
||||
// 12-Jun-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Jul-2018
|
||||
//17-Aug-2018 commented @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Jul-2018
|
||||
public void testDynamicLoading() throws Exception {
|
||||
System.setProperty("enable.runtime.lib", "true");
|
||||
setupRestTestHarnesses();
|
||||
|
|
|
@ -830,6 +830,7 @@ public class TestReplicationHandler extends SolrTestCaseJ4 {
|
|||
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
public void doTestStressReplication() throws Exception {
|
||||
// change solrconfig on slave
|
||||
// this has no entry for pollinginterval
|
||||
|
|
|
@ -44,7 +44,7 @@ import org.junit.Test;
|
|||
public class TestNamedUpdateProcessors extends AbstractFullDistribZkTestBase {
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Jul-2018
|
||||
//17-Aug-2018 commented @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Jul-2018
|
||||
public void test() throws Exception {
|
||||
System.setProperty("enable.runtime.lib", "true");
|
||||
setupRestTestHarnesses();
|
||||
|
|
|
@ -67,6 +67,7 @@ public class TestCloudCollectionsListeners extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
public void testSimpleCloudCollectionsListener() throws Exception {
|
||||
|
||||
CloudSolrClient client = cluster.getSolrClient();
|
||||
|
@ -194,6 +195,7 @@ public class TestCloudCollectionsListeners extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
public void testWatchesWorkForBothStateFormats() throws Exception {
|
||||
CloudSolrClient client = cluster.getSolrClient();
|
||||
|
||||
|
|
Loading…
Reference in New Issue