You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2016/05/04 13:31:13 UTC
[jira] [Updated] (SOLR-9065) Migrate solrj tests from
AbstractDistribZkTestBase to SolrCloudTestCase
[ https://issues.apache.org/jira/browse/SOLR-9065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Woodward updated SOLR-9065:
--------------------------------
Attachment: SOLR-9065.patch
This patch migrates the following test classes:
* solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java
* solr/solrj/src/test/org/apache/solr/client/solrj/io/graph/GraphExpressionTest.java
* solr/solrj/src/test/org/apache/solr/client/solrj/io/graph/GraphTest.java
* solr/solrj/src/test/org/apache/solr/client/solrj/io/sql/JdbcTest.java
* solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/JDBCStreamTest.java
* solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/StreamExpressionTest.java
* solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/StreamingTest.java
Running 'ant test -Dtests.slow=true' in solrj goes from 5 mins before this patch to 2mins 20seconds afterwards on my machine.
It also includes a couple of small usability changes to UpdateRequest and CollectionAdminRequest.
> Migrate solrj tests from AbstractDistribZkTestBase to SolrCloudTestCase
> -----------------------------------------------------------------------
>
> Key: SOLR-9065
> URL: https://issues.apache.org/jira/browse/SOLR-9065
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 6.1, master
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Attachments: SOLR-9065.patch
>
>
> AbstractDistribZkTestBase sets up collections using the legacy core-based system, and does a lot of comparing things against control collections that the SolrJ tests really don't require. We should migrate these tests to using SolrCloudTestCase instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org