[jira] [Commented] (MESOS-4160) Log recover tests are slow
[ https://issues.apache.org/jira/browse/MESOS-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15144251#comment-15144251 ] haosdent commented on MESOS-4160: - I think could advance 1 sec here to avoid this delay. > 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)
[jira] [Commented] (MESOS-4160) Log recover tests are slow
[ https://issues.apache.org/jira/browse/MESOS-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15144389#comment-15144389 ] Shuai Lin commented on MESOS-4160: -- Yeah, your suggestion makes sense. I uploaded a patch based on it. > 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)
[jira] [Commented] (MESOS-4160) Log recover tests are slow
[ https://issues.apache.org/jira/browse/MESOS-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15144164#comment-15144164 ] haosdent commented on MESOS-4160: - Hi [~lins05] Are you still doing this? > 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)
[jira] [Commented] (MESOS-4160) Log recover tests are slow
[ https://issues.apache.org/jira/browse/MESOS-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)
[jira] [Commented] (MESOS-4160) Log recover tests are slow
[ https://issues.apache.org/jira/browse/MESOS-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15137262#comment-15137262 ] Shuai Lin commented on MESOS-4160: -- Yeah, but still {{RecoverTest.AutoInitialization}} takes more than 1 sec. > 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)
[jira] [Commented] (MESOS-4160) Log recover tests are slow
[ https://issues.apache.org/jira/browse/MESOS-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15072773#comment-15072773 ] andyhu commented on MESOS-4160: --- I run the test with 159 ms on my Ubuntu 14.04.1 [ RUN ] RecoverTest.AutoInitializationRetry [ OK ] RecoverTest.AutoInitializationRetry (159 ms) > 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 >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)