[
https://issues.apache.org/jira/browse/SOLR-6290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-6290:
----------------------------------------
Attachment: SOLR-6290.patch
Here's an updated patch which makes the test faster by:
# The default collection shard count was fixed at 2 slices and 4 shards but the
test doesn't really use the default collection at all. I set slice and shard
count to 1
# The 'testasynccollectioncreation' collection was created with 2 shards but 1
shard is enough to test this functionality.
I increased the timeout for the splitshard call to 2 minutes because I have
seen shard splits take longer than 90 seconds on jenkins.
> CollectionsAPIAsyncDistributedZkTest failure
> --------------------------------------------
>
> Key: SOLR-6290
> URL: https://issues.apache.org/jira/browse/SOLR-6290
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud, Tests
> Reporter: Shalin Shekhar Mangar
> Assignee: Shalin Shekhar Mangar
> Fix For: 5.0, 4.10
>
> Attachments: SOLR-6290.patch, SOLR-6290.patch, SOLR-6290.patch
>
>
> Found this failure on my local jenkins instance:
> {code}
> Error Message
> CreateCollection task did not complete! expected:<[completed]> but
> was:<[running]>
> Stacktrace
> org.junit.ComparisonFailure: CreateCollection task did not complete!
> expected:<[completed]> but was:<[running]>
> at
> __randomizedtesting.SeedInfo.seed([D4EC4F9D698903B5:550AC1851ED66389]:0)
> at org.junit.Assert.assertEquals(Assert.java:125)
> at
> org.apache.solr.cloud.CollectionsAPIAsyncDistributedZkTest.testSolrJAPICalls(CollectionsAPIAsyncDistributedZkTest.java:75)
> at
> org.apache.solr.cloud.CollectionsAPIAsyncDistributedZkTest.doTest(CollectionsAPIAsyncDistributedZkTest.java:61)
> at
> org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:865)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]