You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Andrei Savu (JIRA)" <ji...@apache.org> on 2011/08/13 08:46:27 UTC

[jira] [Created] (WHIRR-360) Enable parallel test execution

Enable parallel test execution
------------------------------

                 Key: WHIRR-360
                 URL: https://issues.apache.org/jira/browse/WHIRR-360
             Project: Whirr
          Issue Type: Improvement
            Reporter: Andrei Savu


As we add services the number of integration tests we need to run will also increase. It would be useful to be able to execute the tests in parallel.

We can do this either by enabling parallel test execution in JUnit:
[1] http://incodewetrustinc.blogspot.com/2010/01/run-your-junit-tests-concurrently-with.html 

or by migrating from JUnit to TestNG which has better support for parallel test execution out of the box. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WHIRR-360) Enable parallel test execution

Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085322#comment-13085322 ] 

Andrei Savu commented on WHIRR-360:
-----------------------------------

I guess we can implement this by starting a bunch of nodes for testing and then using BYON for test execution providing a .yaml file with a subset of the started hosts. We only need to make sure that BYON calls the cleanup script on cluster destroy (btw that event is never triggered in the current code). 

> Enable parallel test execution
> ------------------------------
>
>                 Key: WHIRR-360
>                 URL: https://issues.apache.org/jira/browse/WHIRR-360
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>
> As we add services the number of integration tests we need to run will also increase. It would be useful to be able to execute the tests in parallel.
> We can do this either by enabling parallel test execution in JUnit:
> [1] http://incodewetrustinc.blogspot.com/2010/01/run-your-junit-tests-concurrently-with.html 
> or by migrating from JUnit to TestNG which has better support for parallel test execution out of the box. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WHIRR-360) Enable parallel test execution

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085312#comment-13085312 ] 

Tom White commented on WHIRR-360:
---------------------------------

Another way would be to reuse instances (e.g. via node pooling, something that's been talked about in jclouds). Isolation wouldn't be as good, but would be acceptable if services had good cleanup scripts. 

> Enable parallel test execution
> ------------------------------
>
>                 Key: WHIRR-360
>                 URL: https://issues.apache.org/jira/browse/WHIRR-360
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>
> As we add services the number of integration tests we need to run will also increase. It would be useful to be able to execute the tests in parallel.
> We can do this either by enabling parallel test execution in JUnit:
> [1] http://incodewetrustinc.blogspot.com/2010/01/run-your-junit-tests-concurrently-with.html 
> or by migrating from JUnit to TestNG which has better support for parallel test execution out of the box. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WHIRR-360) Enable parallel test execution

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085323#comment-13085323 ] 

Tom White commented on WHIRR-360:
---------------------------------

Using BYON would be a good way to bootstrap this. The patch in WHIRR-239 (not committed) has some teardown code which might be helpful.

> Enable parallel test execution
> ------------------------------
>
>                 Key: WHIRR-360
>                 URL: https://issues.apache.org/jira/browse/WHIRR-360
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>
> As we add services the number of integration tests we need to run will also increase. It would be useful to be able to execute the tests in parallel.
> We can do this either by enabling parallel test execution in JUnit:
> [1] http://incodewetrustinc.blogspot.com/2010/01/run-your-junit-tests-concurrently-with.html 
> or by migrating from JUnit to TestNG which has better support for parallel test execution out of the box. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WHIRR-360) Enable parallel test execution

Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085317#comment-13085317 ] 

Andrei Savu commented on WHIRR-360:
-----------------------------------

That sounds really good. We should be able to speed-up test execution and be a lot more cost effective (for each run we are paying for a full server hour). 

> Enable parallel test execution
> ------------------------------
>
>                 Key: WHIRR-360
>                 URL: https://issues.apache.org/jira/browse/WHIRR-360
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>
> As we add services the number of integration tests we need to run will also increase. It would be useful to be able to execute the tests in parallel.
> We can do this either by enabling parallel test execution in JUnit:
> [1] http://incodewetrustinc.blogspot.com/2010/01/run-your-junit-tests-concurrently-with.html 
> or by migrating from JUnit to TestNG which has better support for parallel test execution out of the box. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira