[ 
https://issues.apache.org/jira/browse/SOLR-12130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16407929#comment-16407929
 ] 

Amrit Sarkar commented on SOLR-12130:
-------------------------------------

Tests total time: *30 minutes* approx.

Following is the approx time taken by each test-method in the testclass:
||test method||time in ms||time||
|testBatchBoundaries()|120651|2min|
|testReplicationStartStop()|240897|4min|
|testReplicationAfterLeaderChange()|231003|4min|
|testUpdateLogSynchronisation()|121818|2min|
|testDeleteCreateSourceCollection()|37309|36sec|
|testReplicationAfterRestart()|300130|5min|
|testBatchAddsWithDelete()|4143|4sec|
|testOps()|5048|5sec|
|testResilienceWithDeleteByQueryOnTarget()|122769|2min|
|testTargetCollectionNotAvailable()|5860|6sec|
|testBufferOnNonLeader()|33203|33sec|

total: round about *18 minutes, 20 seconds*.

In the test-class for each test-method, 2x2 collection of source and target are 
created. meaning we are creating 8 cores for every test-method, 4 for source, 4 
for target.

so total *11 minutes 40 seconds* are consumed in preparation (get collections 
up and running) and destruction (purging of cores and its data) for all the 
test methods.

Next thing to do is to understand what each test is doing and if we can 
optimise / avoid.

> Investigate why CdcrReplicationDistributedZkTest is slow
> --------------------------------------------------------
>
>                 Key: SOLR-12130
>                 URL: https://issues.apache.org/jira/browse/SOLR-12130
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Varun Thacker
>            Assignee: Varun Thacker
>            Priority: Major
>
> CdcrReplicationDistributedZkTest seems to be a very slow test and probably 
> why it was marked nightly in the first place?
> Investigate why the test is so slow and see if we can speed it up 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to