[ https://issues.apache.org/jira/browse/MESOS-2059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Rukletsov updated MESOS-2059: --------------------------------------- Labels: tech-debt (was: ) > improve performance of expensive tests > -------------------------------------- > > Key: MESOS-2059 > URL: https://issues.apache.org/jira/browse/MESOS-2059 > Project: Mesos > Issue Type: Improvement > Components: technical debt, test > Reporter: Dominic Hamon > Priority: Minor > Labels: tech-debt > > Many of our tests take a long time to run which has an impact on the > developer compile-test cycle. Improving the performance of the worst cases > can lead to a significant improvement in developer workflow. > A quick test shows that focusing on a few key test fixtures might be > worthwhile: > {noformat} > $ egrep '\(.* ms\)$' test.log | cut -d\ -f10- | cut -d\ -f1-2 | sed 's/(//' > | sort -k2 -rn | head -n 30 > ZooKeeperMasterContenderDetectorTest.NonRetryableFrrors 15107 > ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireMasterZKSession 13473 > ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSessionNewMaster > 13434 > ZooKeeperMasterContenderDetectorTest.MasterContenders 10089 > ZooKeeperMasterContenderDetectorTest.MasterDetectorTimedoutSession 10081 > ZooKeeperMasterContenderDetectorTest.ContenderDetectorShutdownNetwork 8459 > ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSession 8424 > ZooKeeperMasterContenderDetectorTest.MasterContender 8397 > SlaveRecoveryTest/0.MultipleFrameworks 7971 > ExamplesTest.PythonFramework 7326 > HealthCheckTest.GracePeriod 6552 > SlaveRecoveryTest/0.ReconcileKillTask 6150 > ExamplesTest.LowLevelSchedulerPthread 6113 > ExamplesTest.JavaFramework 5543 > ExamplesTest.NoExecutorFramework 5391 > ExamplesTest.TestFramework 5282 > ExamplesTest.LowLevelSchedulerLibprocess 5282 > ExamplesTest.JavaException 5177 > ZooKeeperMasterContenderDetectorTest.ContenderPendingElection 5046 > BasicMasterContenderDetectorTest.Detector 5010 > BasicMasterContenderDetectorTest.Contender 5004 > SlaveRecoveryTest/0.MultipleSlaves 4845 > SlaveRecoveryTest/0.MasterFailover 4736 > SlaveRecoveryTest/0.ShutdownSlave 4517 > SlaveRecoveryTest/0.ShutdownSlaveSIGUSR1 4482 > SlaveRecoveryTest/0.Reboot 4481 > SlaveRecoveryTest/0.KillTask 3600 > SlaveRecoveryTest/0.SchedulerFailover 3542 > SlaveRecoveryTest/0.ReconcileShutdownFramework 3534 > GroupTest.GroupJoinWithDisconnect 3384 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)