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

Dominic Hamon commented on MESOS-1757:
--------------------------------------

We can also consider using more mocks/stubs and refactoring code to enable unit 
tests as opposed to (or in support of) integration tests. This might reduce 
some of the larger test cases.

> Speed up the tests.
> -------------------
>
>                 Key: MESOS-1757
>                 URL: https://issues.apache.org/jira/browse/MESOS-1757
>             Project: Mesos
>          Issue Type: Epic
>          Components: technical debt, test
>            Reporter: Benjamin Mahler
>
> The full test suite is exceeding the 7 minute mark (440 seconds on my 
> machine), this epic is to track techniques to improve this:
> # The reaper takes a full second to reap an exited process (MESOS-1199), this 
> adds a second to each slave recovery test, and possibly more for things that 
> rely on Subprocess.
> # The command executor sleeps for a second when shutting down (MESOS-442), 
> this adds a second to every test that uses the command executor.
> # Now that the master and the slave have to perform sync'ed disk writes, 
> consider using a ramdisk to speed up the disk writes.
> Additional options that hopefully will not be necessary:
> # Use automake's [parallel test 
> harness|http://www.gnu.org/software/automake/manual/html_node/Parallel-Test-Harness.html]
>  to compile tests separately and run tests in parallel.



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

Reply via email to