mirror of https://github.com/apache/lucene.git
SOLR-12028: Catching up with annotations after recent Solr test work
This commit is contained in:
parent
d018cd18f4
commit
24ae0d16cd
|
@ -73,7 +73,7 @@ public class TestLTROnSolrCloud extends TestRerankBase {
|
|||
|
||||
@Test
|
||||
// commented 4-Sep-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-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
|
||||
|
||||
|
|
|
@ -184,6 +184,7 @@ public class BasicDistributedZkTest extends AbstractFullDistribZkTestBase {
|
|||
|
||||
@Test
|
||||
@ShardsFixed(num = 4)
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void test() throws Exception {
|
||||
// setLoggingLevel(null);
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@ import java.util.HashSet;
|
|||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.Slow;
|
||||
import org.apache.solr.SolrTestCaseJ4.SuppressSSL;
|
||||
import org.apache.solr.client.solrj.SolrQuery;
|
||||
|
@ -140,7 +139,7 @@ public class ChaosMonkeyNothingIsSafeTest extends AbstractFullDistribZkTestBase
|
|||
|
||||
@Test
|
||||
//05-Jul-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 09-Apr-2018
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
public void test() throws Exception {
|
||||
// None of the operations used here are particularly costly, so this should work.
|
||||
// Using this low timeout will also help us catch index stalling.
|
||||
|
|
|
@ -88,6 +88,7 @@ public class DeleteReplicaTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void deleteLiveReplicaTest() throws Exception {
|
||||
|
||||
final String collectionName = "delLiveColl";
|
||||
|
@ -176,6 +177,7 @@ public class DeleteReplicaTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void deleteReplicaByCountForAllShards() throws Exception {
|
||||
|
||||
final String collectionName = "deleteByCountNew";
|
||||
|
@ -249,6 +251,7 @@ public class DeleteReplicaTest extends SolrCloudTestCase {
|
|||
|
||||
@Test
|
||||
@Slow
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void raceConditionOnDeleteAndRegisterReplica() throws Exception {
|
||||
raceConditionOnDeleteAndRegisterReplica("false");
|
||||
CollectionAdminRequest.setClusterProperty(ZkStateReader.LEGACY_CLOUD, null).process(cluster.getSolrClient());
|
||||
|
@ -256,11 +259,13 @@ public class DeleteReplicaTest extends SolrCloudTestCase {
|
|||
|
||||
@Test
|
||||
@Slow
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void raceConditionOnDeleteAndRegisterReplicaLegacy() throws Exception {
|
||||
raceConditionOnDeleteAndRegisterReplica("true");
|
||||
CollectionAdminRequest.setClusterProperty(ZkStateReader.LEGACY_CLOUD, null).process(cluster.getSolrClient());
|
||||
}
|
||||
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void raceConditionOnDeleteAndRegisterReplica(String legacyCloud) throws Exception {
|
||||
|
||||
CollectionAdminRequest.setClusterProperty(ZkStateReader.LEGACY_CLOUD, legacyCloud).process(cluster.getSolrClient());
|
||||
|
|
|
@ -76,7 +76,7 @@ public class DistribCursorPagingTest extends AbstractFullDistribZkTestBase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 23-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 23-Aug-2018
|
||||
public void test() throws Exception {
|
||||
boolean testFinished = false;
|
||||
try {
|
||||
|
|
|
@ -69,6 +69,7 @@ public class FullSolrCloudDistribCmdsTest extends AbstractFullDistribZkTestBase
|
|||
@Test
|
||||
@ShardsFixed(num = 6)
|
||||
// commented 15-Sep-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void test() throws Exception {
|
||||
handle.clear();
|
||||
handle.put("timestamp", SKIPVAL);
|
||||
|
|
|
@ -32,7 +32,6 @@ import java.util.Map;
|
|||
import java.util.Optional;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.Slow;
|
||||
import org.apache.solr.JSONTestUtil;
|
||||
import org.apache.solr.SolrTestCaseJ4.SuppressSSL;
|
||||
|
@ -73,7 +72,7 @@ import org.slf4j.LoggerFactory;
|
|||
|
||||
@Slow
|
||||
@SuppressSSL(bugUrl = "https://issues.apache.org/jira/browse/SOLR-5776")
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2018-06-18
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2018-06-18
|
||||
public class HttpPartitionTest extends AbstractFullDistribZkTestBase {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
|
@ -133,7 +132,7 @@ public class HttpPartitionTest extends AbstractFullDistribZkTestBase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
|
||||
public void test() throws Exception {
|
||||
waitForThingsToLevelOut(30000);
|
||||
|
||||
|
|
|
@ -73,6 +73,7 @@ public class LegacyCloudClusterPropTest extends SolrCloudTestCase {
|
|||
@Test
|
||||
//2018-06-18 (commented) @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
|
||||
//Commented 14-Oct-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void testCreateCollectionSwitchLegacyCloud() throws Exception {
|
||||
createAndTest("legacyTrue", true);
|
||||
createAndTest("legacyFalse", false);
|
||||
|
|
|
@ -97,6 +97,7 @@ public class MoveReplicaTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void test() throws Exception {
|
||||
String coll = getTestClass().getSimpleName() + "_coll_" + inPlaceMove;
|
||||
log.info("total_jettys: " + cluster.getJettySolrRunners().size());
|
||||
|
@ -239,6 +240,7 @@ public class MoveReplicaTest extends SolrCloudTestCase {
|
|||
@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
|
||||
//17-Aug-2018 commented @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void testFailedMove() throws Exception {
|
||||
String coll = getTestClass().getSimpleName() + "_failed_coll_" + inPlaceMove;
|
||||
int REPLICATION = 2;
|
||||
|
|
|
@ -62,6 +62,7 @@ public class MultiThreadedOCPTest extends AbstractFullDistribZkTestBase {
|
|||
@Test
|
||||
// commented 20-July-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
|
||||
//commented 20-Sep-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void test() throws Exception {
|
||||
testParallelCollectionAPICalls();
|
||||
testTaskExclusivity();
|
||||
|
|
|
@ -77,7 +77,7 @@ public class ReplicationFactorTest extends AbstractFullDistribZkTestBase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Jul-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Jul-2018
|
||||
public void test() throws Exception {
|
||||
log.info("replication factor test running");
|
||||
waitForThingsToLevelOut(30000);
|
||||
|
|
|
@ -75,6 +75,7 @@ public class RestartWhileUpdatingTest extends AbstractFullDistribZkTestBase {
|
|||
|
||||
@Test
|
||||
//Commented 14-Oct-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 21-May-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void test() throws Exception {
|
||||
handle.clear();
|
||||
handle.put("timestamp", SKIPVAL);
|
||||
|
|
|
@ -26,7 +26,6 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.solr.JSONTestUtil;
|
||||
import org.apache.solr.client.solrj.SolrServerException;
|
||||
import org.apache.solr.client.solrj.cloud.SocketProxy;
|
||||
|
@ -99,7 +98,7 @@ public class TestCloudConsistency extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
public void testOutOfSyncReplicasCannotBecomeLeaderAfterRestart() throws Exception {
|
||||
testOutOfSyncReplicasCannotBecomeLeader(true);
|
||||
}
|
||||
|
|
|
@ -188,7 +188,7 @@ public class TestStressCloudBlindAtomicUpdates extends SolrCloudTestCase {
|
|||
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
|
||||
public void test_dv() throws Exception {
|
||||
String field = "long_dv";
|
||||
checkExpectedSchemaField(map("name", field,
|
||||
|
|
|
@ -57,6 +57,7 @@ public class TriLevelCompositeIdRoutingTest extends ShardRoutingTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void test() throws Exception {
|
||||
boolean testFinished = false;
|
||||
try {
|
||||
|
|
|
@ -65,7 +65,7 @@ public class UnloadDistributedZkTest extends BasicDistributedZkTest {
|
|||
|
||||
@Test
|
||||
//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 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void test() throws Exception {
|
||||
|
||||
testCoreUnloadAndLeaders(); // long
|
||||
|
|
|
@ -419,7 +419,7 @@ public class CollectionsAPIDistributedZkTest extends SolrCloudTestCase {
|
|||
@Test
|
||||
//28-June-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
|
||||
// See: https://issues.apache.org/jira/browse/SOLR-12028 Tests cannot remove files on Windows machines occasionally
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 09-Aug-2018 SOLR-12028
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 09-Aug-2018 SOLR-12028
|
||||
public void testCollectionsAPI() throws Exception {
|
||||
|
||||
// create new collections rapid fire
|
||||
|
|
|
@ -281,7 +281,7 @@ public class ShardSplitTest extends BasicDistributedZkTest {
|
|||
*/
|
||||
@Test
|
||||
//05-Jul-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 15-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 15-Sep-2018
|
||||
public void testSplitAfterFailedSplit() throws Exception {
|
||||
waitForThingsToLevelOut(15);
|
||||
|
||||
|
|
|
@ -657,7 +657,7 @@ public class AutoScalingHandlerTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @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
|
||||
|
|
|
@ -252,7 +252,7 @@ public class ComputePlanActionTest extends SolrCloudTestCase {
|
|||
|
||||
}
|
||||
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
public void testNodeWithMultipleReplicasLost() throws Exception {
|
||||
// start 3 more nodes
|
||||
cluster.startJettySolrRunner();
|
||||
|
@ -525,7 +525,7 @@ public class ComputePlanActionTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
public void testNodeAddedTriggerWithAddReplicaPreferredOp_2Shard() throws Exception {
|
||||
String collectionNamePrefix = "testNodeAddedTriggerWithAddReplicaPreferredOp_2Shard";
|
||||
int numShards = 2;
|
||||
|
|
|
@ -82,7 +82,7 @@ public class MetricTriggerIntegrationTest extends SolrCloudTestCase {
|
|||
|
||||
@Test
|
||||
// commented 4-Sep-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
public void testMetricTrigger() throws Exception {
|
||||
String collectionName = "testMetricTrigger";
|
||||
CloudSolrClient solrClient = cluster.getSolrClient();
|
||||
|
|
|
@ -275,7 +275,7 @@ public class SearchRateTriggerIntegrationTest extends SolrCloudTestCase {
|
|||
|
||||
@Test
|
||||
//17-Aug-2018 commented @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 21-May-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 15-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 15-Sep-2018
|
||||
public void testBelowSearchRate() throws Exception {
|
||||
CloudSolrClient solrClient = cluster.getSolrClient();
|
||||
String COLL1 = "belowRate_collection";
|
||||
|
|
|
@ -172,6 +172,7 @@ public class TriggerIntegrationTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void testTriggerThrottling() throws Exception {
|
||||
// for this test we want to create two triggers so we must assert that the actions were created twice
|
||||
actionInitCalled = new CountDownLatch(2);
|
||||
|
|
|
@ -64,6 +64,7 @@ public class TriggerSetPropertiesIntegrationTest extends SolrCloudTestCase {
|
|||
* Test that we can add/remove triggers to a scheduler, and change the config on the fly, and still get
|
||||
* expected behavior
|
||||
*/
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void testSetProperties() throws Exception {
|
||||
final JettySolrRunner runner = cluster.getJettySolrRunner(0);
|
||||
final SolrResourceLoader resourceLoader = runner.getCoreContainer().getResourceLoader();
|
||||
|
|
|
@ -256,7 +256,7 @@ public class TestSimComputePlanAction extends SimSolrCloudTestCase {
|
|||
|
||||
@Test
|
||||
//17-Aug-2018 commented @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 28-June-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
public void testNodeAdded() throws Exception {
|
||||
AssertingTriggerAction.expectedNode = null;
|
||||
SolrClient solrClient = cluster.simGetSolrClient();
|
||||
|
|
|
@ -26,7 +26,6 @@ import java.util.concurrent.TimeUnit;
|
|||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
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.cloud.autoscaling.TriggerEventType;
|
||||
|
@ -82,7 +81,7 @@ public class TestSimExecutePlanAction extends SimSolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 28-June-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 28-June-2018
|
||||
public void testExecute() throws Exception {
|
||||
SolrClient solrClient = cluster.simGetSolrClient();
|
||||
String collectionName = "testExecute";
|
||||
|
|
|
@ -112,6 +112,7 @@ public class TestSimPolicyCloud extends SimSolrCloudTestCase {
|
|||
|
||||
}
|
||||
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void testCreateCollectionAddReplica() throws Exception {
|
||||
SolrClient solrClient = cluster.simGetSolrClient();
|
||||
String nodeId = cluster.getSimClusterStateProvider().simGetRandomNode();
|
||||
|
|
|
@ -338,6 +338,7 @@ public class TestSimTriggerIntegration extends SimSolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void testNodeAddedTriggerRestoreState() throws Exception {
|
||||
// for this test we want to update the trigger so we must assert that the actions were created twice
|
||||
actionInitCalled = new CountDownLatch(2);
|
||||
|
|
|
@ -64,7 +64,7 @@ public class CdcrOpsAndBoundariesTest extends SolrTestCaseJ4 {
|
|||
* Check the ops statistics.
|
||||
*/
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
public void testOps() throws Exception {
|
||||
createCollections();
|
||||
|
||||
|
|
|
@ -204,7 +204,7 @@ public class CdcrWithNodesRestartsTest extends SolrTestCaseJ4 {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
public void testReplicationAfterLeaderChange() throws Exception {
|
||||
createCollections();
|
||||
CdcrTestsUtil.cdcrStart(sourceSolrClient);
|
||||
|
|
|
@ -19,7 +19,6 @@ 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;
|
||||
|
@ -35,7 +34,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
|
||||
// commented out on: 24-Dec-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;
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@ package org.apache.solr.cloud.hdfs;
|
|||
import java.io.IOException;
|
||||
|
||||
import org.apache.hadoop.hdfs.MiniDFSCluster;
|
||||
import org.apache.lucene.util.LuceneTestCase.BadApple;
|
||||
import org.apache.lucene.util.LuceneTestCase.Slow;
|
||||
import org.apache.solr.cloud.ChaosMonkeyNothingIsSafeTest;
|
||||
import org.apache.solr.util.BadHdfsThreadsFilter;
|
||||
|
@ -34,7 +33,7 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
|
|||
@ThreadLeakFilters(defaultFilters = true, filters = {
|
||||
BadHdfsThreadsFilter.class // hdfs currently leaks thread(s)
|
||||
})
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028, https://issues.apache.org/jira/browse/SOLR-10191")
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028, https://issues.apache.org/jira/browse/SOLR-10191")
|
||||
public class HdfsChaosMonkeyNothingIsSafeTest extends ChaosMonkeyNothingIsSafeTest {
|
||||
private static MiniDFSCluster dfsCluster;
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@ 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.ChaosMonkeySafeLeaderTest;
|
||||
import org.apache.solr.util.BadHdfsThreadsFilter;
|
||||
|
@ -34,7 +33,7 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
|
|||
@ThreadLeakFilters(defaultFilters = true, filters = {
|
||||
BadHdfsThreadsFilter.class // hdfs currently leaks thread(s)
|
||||
})
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
public class HdfsChaosMonkeySafeLeaderTest extends ChaosMonkeySafeLeaderTest {
|
||||
private static MiniDFSCluster dfsCluster;
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@ 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.SyncSliceTest;
|
||||
import org.apache.solr.util.BadHdfsThreadsFilter;
|
||||
|
@ -34,7 +33,7 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
|
|||
@ThreadLeakFilters(defaultFilters = true, filters = {
|
||||
BadHdfsThreadsFilter.class // hdfs currently leaks thread(s)
|
||||
})
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 12-Jun-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 12-Jun-2018
|
||||
public class HdfsSyncSliceTest extends SyncSliceTest {
|
||||
private static MiniDFSCluster dfsCluster;
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@ 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.TlogReplayBufferedWhileIndexingTest;
|
||||
import org.apache.solr.util.BadHdfsThreadsFilter;
|
||||
|
@ -32,7 +31,7 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
|
|||
@Slow
|
||||
@Nightly
|
||||
// 12-Jun-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028")
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Jul-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Jul-2018
|
||||
@ThreadLeakFilters(defaultFilters = true, filters = {
|
||||
BadHdfsThreadsFilter.class // hdfs currently leaks thread(s)
|
||||
})
|
||||
|
|
|
@ -61,7 +61,7 @@ import java.util.concurrent.TimeUnit;
|
|||
@ThreadLeakFilters(defaultFilters = true, filters = {
|
||||
BadHdfsThreadsFilter.class // hdfs currently leaks thread(s)
|
||||
})
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 6-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 6-Sep-2018
|
||||
@Nightly
|
||||
public class StressHdfsTest extends BasicDistributedZkTest {
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ import java.util.concurrent.TimeUnit;
|
|||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.store.FSDirectory;
|
||||
import org.apache.lucene.util.Constants;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.Slow;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
import org.apache.solr.BaseDistributedSearchTestCase;
|
||||
|
@ -92,7 +91,7 @@ import static org.junit.matchers.JUnitMatchers.containsString;
|
|||
@Slow
|
||||
@SuppressSSL // Currently unknown why SSL does not work with this test
|
||||
// commented 20-July-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 12-Jun-2018
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 23-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 23-Aug-2018
|
||||
public class TestReplicationHandler extends SolrTestCaseJ4 {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
|
|
|
@ -22,6 +22,7 @@ import org.apache.solr.cloud.AbstractFullDistribZkTestBase;
|
|||
import org.apache.solr.common.cloud.DocCollection;
|
||||
|
||||
public class TestSystemCollAutoCreate extends AbstractFullDistribZkTestBase {
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void testAutoCreate() throws Exception {
|
||||
TestBlobHandler.checkBlobPost(cloudJettys.get(0).jetty.getBaseUrl().toExternalForm(), cloudClient);
|
||||
DocCollection sysColl = cloudClient.getZkStateReader().getClusterState().getCollection(".system");
|
||||
|
|
|
@ -63,7 +63,7 @@ public class ZookeeperStatusHandlerTest extends SolrCloudTestCase {
|
|||
NOTE: We do not currently test with multiple zookeepers, but the only difference is that there are multiple "details" objects and mode is "ensemble"...
|
||||
*/
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 6-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 6-Sep-2018
|
||||
public void monitorZookeeper() throws IOException, SolrServerException, InterruptedException, ExecutionException, TimeoutException {
|
||||
URL baseUrl = cluster.getJettySolrRunner(0).getBaseUrl();
|
||||
HttpSolrClient solr = new HttpSolrClient.Builder(baseUrl.toString()).build();
|
||||
|
|
|
@ -126,7 +126,7 @@ public class CustomHighlightComponentTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
public void test() throws Exception {
|
||||
|
||||
// determine custom search handler name (the exact name should not matter)
|
||||
|
|
|
@ -344,7 +344,7 @@ public class DistributedDebugComponentTest extends SolrJettyTestBase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testCompareWithNonDistributedRequest() throws SolrServerException, IOException {
|
||||
SolrQuery query = new SolrQuery();
|
||||
query.setQuery("id:1 OR id:2");
|
||||
|
|
|
@ -23,7 +23,6 @@ import org.apache.hadoop.fs.Path;
|
|||
import org.apache.hadoop.hdfs.MiniDFSCluster;
|
||||
import org.apache.lucene.index.BaseTestCheckIndex;
|
||||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.solr.client.solrj.SolrClient;
|
||||
import org.apache.solr.client.solrj.SolrQuery;
|
||||
import org.apache.solr.cloud.AbstractFullDistribZkTestBase;
|
||||
|
@ -43,7 +42,7 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
|
|||
@ThreadLeakFilters(defaultFilters = true, filters = {
|
||||
BadHdfsThreadsFilter.class // hdfs currently leaks thread(s)
|
||||
})
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 12-Jun-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 12-Jun-2018
|
||||
public class CheckHdfsIndexTest extends AbstractFullDistribZkTestBase {
|
||||
private static MiniDFSCluster dfsCluster;
|
||||
private static Path path;
|
||||
|
|
|
@ -41,7 +41,6 @@ import org.apache.hadoop.fs.FileStatus;
|
|||
import org.apache.hadoop.fs.FileSystem;
|
||||
import org.apache.hadoop.fs.Path;
|
||||
import org.apache.hadoop.hdfs.MiniDFSCluster;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.apache.solr.cloud.hdfs.HdfsTestUtil;
|
||||
import org.apache.solr.common.util.IOUtils;
|
||||
|
@ -66,7 +65,7 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
|
|||
BadHdfsThreadsFilter.class // hdfs currently leaks thread(s)
|
||||
})
|
||||
// TODO: longer term this should be combined with TestRecovery somehow ??
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 12-Jun-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 12-Jun-2018
|
||||
public class TestRecoveryHdfs extends SolrTestCaseJ4 {
|
||||
|
||||
// means that we've seen the leader and have version info (i.e. we are a non-leader replica)
|
||||
|
|
|
@ -68,8 +68,8 @@ public class TestStressRecovery extends TestRTGBase {
|
|||
// This version simulates updates coming from the leader and sometimes being reordered
|
||||
// and tests the ability to buffer updates and apply them later
|
||||
@Test
|
||||
// 12-Jun-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 04-May-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 6-Sep-2018
|
||||
// 12-Jun-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 04-May-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 6-Sep-2018
|
||||
public void testStressRecovery() throws Exception {
|
||||
assumeFalse("FIXME: This test is horribly slow sometimes on Windows!", Constants.WINDOWS);
|
||||
|
||||
|
|
|
@ -100,6 +100,7 @@ public class BasicAuthIntegrationTest extends SolrCloudAuthTestCase {
|
|||
|
||||
@Test
|
||||
//commented 9-Aug-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 21-May-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void testBasicAuth() throws Exception {
|
||||
boolean isUseV2Api = random().nextBoolean();
|
||||
String authcPrefix = "/admin/authentication";
|
||||
|
|
|
@ -30,13 +30,12 @@ import org.apache.lucene.store.IndexInput;
|
|||
import org.apache.lucene.store.IndexOutput;
|
||||
import org.apache.lucene.store.MergeInfo;
|
||||
import org.apache.lucene.util.IOUtils;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 12-Jun-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 12-Jun-2018
|
||||
public class BlockDirectoryTest extends SolrTestCaseJ4 {
|
||||
|
||||
private static class MapperCache implements Cache {
|
||||
|
|
|
@ -38,8 +38,8 @@ public class TestDocTermOrdsUninvertLimit extends LuceneTestCase {
|
|||
* New limit is 2^31, which is not very realistic to unit-test. */
|
||||
@SuppressWarnings({"ConstantConditions", "PointlessBooleanExpression"})
|
||||
@Nightly
|
||||
// commented 4-Sep-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 12-Jun-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
// commented 4-Sep-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 12-Jun-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
public void testTriggerUnInvertLimit() throws IOException {
|
||||
final boolean SHOULD_TRIGGER = false; // Set this to true to use the test with the old implementation
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@ import java.net.URISyntaxException;
|
|||
import org.apache.hadoop.conf.Configuration;
|
||||
import org.apache.hadoop.fs.FileSystem;
|
||||
import org.apache.hadoop.hdfs.MiniDFSCluster;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.apache.solr.cloud.hdfs.HdfsTestUtil;
|
||||
import org.apache.solr.common.util.IOUtils;
|
||||
|
@ -38,7 +37,7 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
|
|||
@ThreadLeakFilters(defaultFilters = true, filters = {
|
||||
BadHdfsThreadsFilter.class // hdfs currently leaks thread(s)
|
||||
})
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 23-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 23-Aug-2018
|
||||
public class TestHdfsUpdateLog extends SolrTestCaseJ4 {
|
||||
|
||||
private static MiniDFSCluster dfsCluster;
|
||||
|
|
|
@ -125,6 +125,7 @@ public class TestInPlaceUpdatesDistrib extends AbstractFullDistribZkTestBase {
|
|||
@SuppressWarnings("unchecked")
|
||||
//28-June-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 21-May-2018
|
||||
// commented 4-Sep-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void test() throws Exception {
|
||||
waitForRecoveriesToFinish(true);
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ import org.junit.Test;
|
|||
public class SolrExceptionTest extends LuceneTestCase {
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testSolrException() throws Throwable {
|
||||
// test a connection to a solr server that probably doesn't exist
|
||||
// this is a very simple test and most of the test should be considered verified
|
||||
|
|
|
@ -37,7 +37,7 @@ import java.util.Map;
|
|||
public class TestDocumentObjectBinder extends LuceneTestCase {
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testSimple() throws Exception {
|
||||
DocumentObjectBinder binder = new DocumentObjectBinder();
|
||||
XMLResponseParser parser = new XMLResponseParser();
|
||||
|
@ -82,7 +82,7 @@ public class TestDocumentObjectBinder extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testDynamicFieldBinding() {
|
||||
DocumentObjectBinder binder = new DocumentObjectBinder();
|
||||
XMLResponseParser parser = new XMLResponseParser();
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
package org.apache.solr.client.solrj.embedded;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.solr.client.solrj.LargeVolumeTestBase;
|
||||
import org.junit.BeforeClass;
|
||||
|
||||
|
@ -24,7 +23,7 @@ import org.junit.BeforeClass;
|
|||
* @see org.apache.solr.client.solrj.impl.BinaryRequestWriter
|
||||
* @see org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec
|
||||
*/
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
public class LargeVolumeBinaryJettyTest extends LargeVolumeTestBase {
|
||||
@BeforeClass
|
||||
public static void beforeTest() throws Exception {
|
||||
|
|
|
@ -16,12 +16,11 @@
|
|||
*/
|
||||
package org.apache.solr.client.solrj.embedded;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.solr.client.solrj.LargeVolumeTestBase;
|
||||
import org.junit.BeforeClass;
|
||||
|
||||
// commented 4-Sep-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
public class LargeVolumeJettyTest extends LargeVolumeTestBase {
|
||||
@BeforeClass
|
||||
public static void beforeTest() throws Exception {
|
||||
|
|
|
@ -40,7 +40,7 @@ public class CloudSolrClientBuilderTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testSingleZkHostSpecified() throws IOException {
|
||||
try(CloudSolrClient createdClient = new Builder(Collections.singletonList(ANY_ZK_HOST), Optional.of(ANY_CHROOT))
|
||||
.build()) {
|
||||
|
@ -51,7 +51,7 @@ public class CloudSolrClientBuilderTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testSeveralZkHostsSpecifiedSingly() throws IOException {
|
||||
final List<String> zkHostList = new ArrayList<>();
|
||||
zkHostList.add(ANY_ZK_HOST); zkHostList.add(ANY_OTHER_ZK_HOST);
|
||||
|
@ -65,7 +65,7 @@ public class CloudSolrClientBuilderTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testSeveralZkHostsSpecifiedTogether() throws IOException {
|
||||
final ArrayList<String> zkHosts = new ArrayList<String>();
|
||||
zkHosts.add(ANY_ZK_HOST);
|
||||
|
@ -79,7 +79,7 @@ public class CloudSolrClientBuilderTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testByDefaultConfiguresClientToSendUpdatesOnlyToShardLeaders() throws IOException {
|
||||
try(CloudSolrClient createdClient = new Builder(Collections.singletonList(ANY_ZK_HOST), Optional.of(ANY_CHROOT)).build()) {
|
||||
assertTrue(createdClient.isUpdatesToLeaders() == true);
|
||||
|
@ -87,7 +87,7 @@ public class CloudSolrClientBuilderTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testIsDirectUpdatesToLeadersOnlyDefault() throws IOException {
|
||||
try(CloudSolrClient createdClient = new Builder(Collections.singletonList(ANY_ZK_HOST), Optional.of(ANY_CHROOT)).build()) {
|
||||
assertFalse(createdClient.isDirectUpdatesToLeadersOnly());
|
||||
|
@ -95,7 +95,7 @@ public class CloudSolrClientBuilderTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void test0Timeouts() throws IOException {
|
||||
try(CloudSolrClient createdClient = new Builder(Collections.singletonList(ANY_ZK_HOST), Optional.empty())
|
||||
.withSocketTimeout(0)
|
||||
|
|
|
@ -37,7 +37,7 @@ public class CloudSolrClientMultiConstructorTest extends LuceneTestCase {
|
|||
Collection<String> hosts;
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testZkConnectionStringSetterWithValidChroot() throws IOException {
|
||||
boolean setOrList = random().nextBoolean();
|
||||
int numOfZKServers = TestUtil.nextInt(random(), 1, 5);
|
||||
|
@ -76,7 +76,7 @@ public class CloudSolrClientMultiConstructorTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testZkConnectionStringConstructorWithValidChroot() throws IOException {
|
||||
int numOfZKServers = TestUtil.nextInt(random(), 1, 5);
|
||||
boolean withChroot = random().nextBoolean();
|
||||
|
@ -104,7 +104,7 @@ public class CloudSolrClientMultiConstructorTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testBadChroot() {
|
||||
final List<String> zkHosts = new ArrayList<>();
|
||||
zkHosts.add("host1:2181");
|
||||
|
|
|
@ -32,7 +32,7 @@ public class ConcurrentUpdateSolrClientBuilderTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testMissingQueueSize() {
|
||||
try (ConcurrentUpdateSolrClient client = new Builder("someurl").build()){
|
||||
// Do nothing as we just need to test that the only mandatory parameter for building the client
|
||||
|
|
|
@ -46,7 +46,7 @@ public class HttpClientUtilTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testSSLSystemProperties() throws IOException {
|
||||
|
||||
assertNotNull("HTTPS scheme could not be created using system defaults",
|
||||
|
@ -85,7 +85,7 @@ public class HttpClientUtilTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testToBooleanDefaultIfNull() throws Exception {
|
||||
assertFalse(HttpClientUtil.toBooleanDefaultIfNull(Boolean.FALSE, true));
|
||||
assertTrue(HttpClientUtil.toBooleanDefaultIfNull(Boolean.TRUE, false));
|
||||
|
@ -94,7 +94,7 @@ public class HttpClientUtilTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testToBooleanObject() throws Exception {
|
||||
assertEquals(Boolean.TRUE, HttpClientUtil.toBooleanObject("true"));
|
||||
assertEquals(Boolean.TRUE, HttpClientUtil.toBooleanObject("TRUE"));
|
||||
|
|
|
@ -1760,7 +1760,7 @@ public class MathExpressionTest extends SolrCloudTestCase {
|
|||
|
||||
@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
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Jul-2018
|
||||
public void testDistributions() throws Exception {
|
||||
String cexpr = "let(a=normalDistribution(10, 2), " +
|
||||
"b=sample(a, 250), " +
|
||||
|
|
|
@ -662,7 +662,7 @@ public class StreamDecoratorTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
public void testParallelHavingStream() throws Exception {
|
||||
|
||||
SolrClientCache solrClientCache = new SolrClientCache();
|
||||
|
@ -873,7 +873,7 @@ public class StreamDecoratorTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
public void testParallelFetchStream() throws Exception {
|
||||
|
||||
new UpdateRequest()
|
||||
|
@ -1385,7 +1385,7 @@ public class StreamDecoratorTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
public void testParallelReducerStream() throws Exception {
|
||||
|
||||
new UpdateRequest()
|
||||
|
@ -1518,7 +1518,7 @@ public class StreamDecoratorTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
public void testParallelMergeStream() throws Exception {
|
||||
|
||||
new UpdateRequest()
|
||||
|
@ -1570,7 +1570,7 @@ public class StreamDecoratorTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 14-Oct-2018
|
||||
public void testParallelRollupStream() throws Exception {
|
||||
|
||||
new UpdateRequest()
|
||||
|
@ -2326,7 +2326,7 @@ public class StreamDecoratorTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
public void testParallelPriorityStream() throws Exception {
|
||||
Assume.assumeTrue(!useAlias);
|
||||
|
||||
|
@ -2495,7 +2495,7 @@ public class StreamDecoratorTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
public void testParallelUpdateStream() throws Exception {
|
||||
|
||||
CollectionAdminRequest.createCollection("parallelDestinationCollection", "conf", 2, 1).process(cluster.getSolrClient());
|
||||
|
@ -2594,7 +2594,7 @@ public class StreamDecoratorTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
public void testParallelDaemonUpdateStream() throws Exception {
|
||||
|
||||
CollectionAdminRequest.createCollection("parallelDestinationCollection1", "conf", 2, 1).process(cluster.getSolrClient());
|
||||
|
@ -2981,6 +2981,7 @@ public class StreamDecoratorTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void testParallelCommitStream() throws Exception {
|
||||
|
||||
CollectionAdminRequest.createCollection("parallelDestinationCollection", "conf", 2, 1).process(cluster.getSolrClient());
|
||||
|
@ -3512,7 +3513,7 @@ public class StreamDecoratorTest extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 2-Aug-2018
|
||||
public void testExecutorStream() throws Exception {
|
||||
CollectionAdminRequest.createCollection("workQueue", "conf", 2, 1).processAndWait(cluster.getSolrClient(), DEFAULT_TIMEOUT);
|
||||
cluster.waitForActiveCollection("workQueue", 2, 2);
|
||||
|
|
|
@ -107,7 +107,7 @@ public class StreamExpressionToExpessionTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testDaemonStream() throws Exception {
|
||||
String expressionString;
|
||||
|
||||
|
@ -220,7 +220,7 @@ public class StreamExpressionToExpessionTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testUpdateStream() throws Exception {
|
||||
StreamExpression expression = StreamExpressionParser.parse("update("
|
||||
+ "collection2, "
|
||||
|
|
|
@ -88,7 +88,7 @@ public class StreamExpressionToExplanationTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testDaemonStream() throws Exception {
|
||||
// Basic test
|
||||
try (DaemonStream stream = new DaemonStream(StreamExpressionParser.parse("daemon(search(collection1, q=*:*, fl=\"id,a_s,a_i,a_f\", sort=\"a_f asc, a_i asc\"), id=\"blah\", runInterval=\"1000\", queueSize=\"100\")"), factory)) {
|
||||
|
@ -175,7 +175,7 @@ public class StreamExpressionToExplanationTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testUpdateStream() throws Exception {
|
||||
StreamExpression expression = StreamExpressionParser.parse("update("
|
||||
+ "collection2, "
|
||||
|
|
|
@ -28,7 +28,7 @@ import org.junit.Test;
|
|||
public class TestCollectionAdminRequest extends LuceneTestCase {
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testInvalidCollectionNameRejectedWhenCreatingCollection() {
|
||||
final SolrException e = expectThrows(SolrException.class, () -> {
|
||||
CollectionAdminRequest.createCollection("invalid$collection@name", null, 1, 1);
|
||||
|
@ -40,7 +40,7 @@ public class TestCollectionAdminRequest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testInvalidShardNamesRejectedWhenCreatingImplicitCollection() {
|
||||
final SolrException e = expectThrows(SolrException.class, () -> {
|
||||
CollectionAdminRequest.createCollectionWithImplicitRouter("fine", "fine", "invalid$shard@name",1,0,0);
|
||||
|
@ -52,7 +52,7 @@ public class TestCollectionAdminRequest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testInvalidShardNamesRejectedWhenCallingSetShards() {
|
||||
CollectionAdminRequest.Create request = CollectionAdminRequest.createCollectionWithImplicitRouter("fine",null,"fine",1);
|
||||
final SolrException e = expectThrows(SolrException.class, () -> {
|
||||
|
@ -65,7 +65,7 @@ public class TestCollectionAdminRequest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testInvalidAliasNameRejectedWhenCreatingAlias() {
|
||||
final SolrException e = expectThrows(SolrException.class, () -> {
|
||||
CreateAlias createAliasRequest = CollectionAdminRequest.createAlias("invalid$alias@name","ignored");
|
||||
|
@ -77,7 +77,7 @@ public class TestCollectionAdminRequest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testInvalidShardNameRejectedWhenCreatingShard() {
|
||||
final SolrException e = expectThrows(SolrException.class, () -> {
|
||||
CreateShard createShardRequest = CollectionAdminRequest.createShard("ignored","invalid$shard@name");
|
||||
|
|
|
@ -44,7 +44,7 @@ import org.junit.Test;
|
|||
public class TestUpdateRequestCodec extends LuceneTestCase {
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void simple() throws IOException {
|
||||
UpdateRequest updateRequest = new UpdateRequest();
|
||||
updateRequest.deleteById("*:*");
|
||||
|
@ -111,7 +111,7 @@ public class TestUpdateRequestCodec extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testIteratable() throws IOException {
|
||||
final List<String> values = new ArrayList<>();
|
||||
values.add("iterItem1");
|
||||
|
@ -162,7 +162,7 @@ public class TestUpdateRequestCodec extends LuceneTestCase {
|
|||
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testBackCompat4_5() throws IOException {
|
||||
|
||||
UpdateRequest updateRequest = new UpdateRequest();
|
||||
|
|
|
@ -31,7 +31,7 @@ import org.junit.Test;
|
|||
public class TestV1toV2ApiMapper extends LuceneTestCase {
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testCreate() throws IOException {
|
||||
Create cmd = CollectionAdminRequest
|
||||
.createCollection("mycoll", "conf1", 3, 2)
|
||||
|
@ -49,7 +49,7 @@ public class TestV1toV2ApiMapper extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testAddReplica() throws IOException {
|
||||
CollectionAdminRequest.AddReplica addReplica = CollectionAdminRequest.addReplicaToShard("mycoll", "shard1");
|
||||
V2Request v2r = V1toV2ApiMapper.convert(addReplica).build();
|
||||
|
@ -60,7 +60,7 @@ public class TestV1toV2ApiMapper extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testSetCollectionProperty() throws IOException {
|
||||
CollectionAdminRequest.CollectionProp collectionProp = CollectionAdminRequest.setCollectionProperty("mycoll", "prop", "value");
|
||||
V2Request v2r = V1toV2ApiMapper.convert(collectionProp).build();
|
||||
|
|
|
@ -41,7 +41,7 @@ import org.junit.Test;
|
|||
@Limit(bytes=20000)
|
||||
public class QueryResponseTest extends LuceneTestCase {
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testRangeFacets() throws Exception {
|
||||
XMLResponseParser parser = new XMLResponseParser();
|
||||
NamedList<Object> response = null;
|
||||
|
@ -103,7 +103,7 @@ public class QueryResponseTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testGroupResponse() throws Exception {
|
||||
XMLResponseParser parser = new XMLResponseParser();
|
||||
NamedList<Object> response = null;
|
||||
|
@ -209,7 +209,7 @@ public class QueryResponseTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testSimpleGroupResponse() throws Exception {
|
||||
XMLResponseParser parser = new XMLResponseParser();
|
||||
NamedList<Object> response = null;
|
||||
|
@ -255,7 +255,7 @@ public class QueryResponseTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testIntervalFacetsResponse() throws Exception {
|
||||
XMLResponseParser parser = new XMLResponseParser();
|
||||
try(SolrResourceLoader loader = new SolrResourceLoader()) {
|
||||
|
|
|
@ -62,7 +62,7 @@ public class TestDelegationTokenResponse extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testGetResponse() throws Exception {
|
||||
DelegationTokenRequest.Get getRequest = new DelegationTokenRequest.Get();
|
||||
DelegationTokenResponse.Get getResponse = new DelegationTokenResponse.Get();
|
||||
|
@ -98,7 +98,7 @@ public class TestDelegationTokenResponse extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testRenewResponse() throws Exception {
|
||||
DelegationTokenRequest.Renew renewRequest = new DelegationTokenRequest.Renew("token");
|
||||
DelegationTokenResponse.Renew renewResponse = new DelegationTokenResponse.Renew();
|
||||
|
|
|
@ -51,7 +51,7 @@ public class TestToleratedUpdateError extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testParseMapErrorChecking() {
|
||||
SimpleOrderedMap<String> bogus = new SimpleOrderedMap<String>();
|
||||
try {
|
||||
|
|
|
@ -109,6 +109,7 @@ public class SolrZkClientTest extends SolrTestCaseJ4 {
|
|||
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void testSimpleUpdateACLs() throws KeeperException, InterruptedException {
|
||||
assertTrue("Initial create was in secure mode; please check the test", canRead(defaultClient, PATH));
|
||||
assertTrue("Credentialed client should always be able to read", canRead(credentialsClient, PATH));
|
||||
|
|
|
@ -69,7 +69,7 @@ public class TestCloudCollectionsListeners extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
public void testSimpleCloudCollectionsListener() throws Exception {
|
||||
|
||||
CloudSolrClient client = cluster.getSolrClient();
|
||||
|
@ -130,7 +130,7 @@ public class TestCloudCollectionsListeners extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 23-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 23-Aug-2018
|
||||
public void testCollectionDeletion() throws Exception {
|
||||
|
||||
CloudSolrClient client = cluster.getSolrClient();
|
||||
|
@ -195,7 +195,7 @@ public class TestCloudCollectionsListeners extends SolrCloudTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 17-Aug-2018
|
||||
public void testWatchesWorkForBothStateFormats() throws Exception {
|
||||
CloudSolrClient client = cluster.getSolrClient();
|
||||
|
||||
|
|
|
@ -201,6 +201,7 @@ public class TestCollectionStateWatchers extends SolrCloudTestCase {
|
|||
|
||||
@Test
|
||||
// commented 20-July-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 12-Jun-2018
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
|
||||
public void testCanWaitForNonexistantCollection() throws Exception {
|
||||
|
||||
Future<Boolean> future = waitInBackground("delayed", MAX_WAIT_TIMEOUT, TimeUnit.SECONDS,
|
||||
|
|
|
@ -65,7 +65,7 @@ public class NamedListTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testRemoveArgs() {
|
||||
NamedList<Object> nl = new NamedList<>();
|
||||
nl.add("key1", "value1-1");
|
||||
|
@ -191,7 +191,7 @@ public class NamedListTest extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testShallowMap() {
|
||||
NamedList nl = new NamedList();
|
||||
nl.add("key1", "Val1");
|
||||
|
|
|
@ -31,7 +31,7 @@ import java.util.zip.GZIPOutputStream;
|
|||
*/
|
||||
public class TestFastInputStream extends LuceneTestCase {
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testgzip() throws Exception {
|
||||
ByteArrayOutputStream b = new ByteArrayOutputStream();
|
||||
FastOutputStream fos = new FastOutputStream(b);
|
||||
|
|
|
@ -32,7 +32,7 @@ import java.util.HashMap;
|
|||
|
||||
public class TestNamedListCodec extends LuceneTestCase {
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testSimple() throws Exception{
|
||||
|
||||
NamedList nl = new NamedList();
|
||||
|
@ -96,7 +96,7 @@ public class TestNamedListCodec extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testIterator() throws Exception{
|
||||
|
||||
NamedList nl = new NamedList();
|
||||
|
@ -137,7 +137,7 @@ public class TestNamedListCodec extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testIterable() throws Exception {
|
||||
|
||||
|
||||
|
@ -253,7 +253,7 @@ public class TestNamedListCodec extends LuceneTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
// commented out on: 24-Dec-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // added 20-Sep-2018
|
||||
public void testRandom() throws Exception {
|
||||
// Random r = random;
|
||||
// let's keep it deterministic since just the wrong
|
||||
|
|
Loading…
Reference in New Issue