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

Shuai Lin commented on MESOS-4160:
----------------------------------

The slowness is because replica1 and replica2 is is {{EMPTY}} status and 
retries with random backoff of  {{[0.5 sec, 1 sec]}}. Currently the retry 
interval is hard coded and not configurable. 

https://github.com/apache/mesos/blob/0.27.0/src/log/recover.cpp#L328-L339


> Log recover tests are slow
> --------------------------
>
>                 Key: MESOS-4160
>                 URL: https://issues.apache.org/jira/browse/MESOS-4160
>             Project: Mesos
>          Issue Type: Improvement
>          Components: technical debt, test
>            Reporter: Alexander Rukletsov
>            Assignee: Shuai Lin
>            Priority: Minor
>              Labels: mesosphere, newbie++, tech-debt
>
> On Mac OS 10.10.4, some tests take longer than {{1s}} to finish:
> {code}
> RecoverTest.AutoInitialization (1003 ms)
> RecoverTest.AutoInitializationRetry (1000 ms)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to