You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "David Alves (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/02/07 10:35:59 UTC

[jira] [Issue Comment Edited] (WHIRR-422) Integration tests should fail or succeed in a limited amount of time

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

David Alves edited comment on WHIRR-422 at 2/7/12 9:35 AM:
-----------------------------------------------------------

Andrei: that was the idea I mentioned initially, the thing is I'm not sure tearDown() will actually be called (I'm inclined to say it won't) so this would make the tests fail but the clusters would be dangling, that's why I welcomed your idea.

Anyhow its worth a try. I'll do that and report later.

(btw you found an old maven 1.x page but there is an equivalent for the itest plugin whirr's using http://maven.apache.org/plugins/maven-failsafe-plugin/integration-test-mojo.html)
                
      was (Author: dr-alves):
    Andrei: that was the idea I mentioned initially, the thing is I'm not sure tearDown() will actually be callds (I'm inclined to say it won't) so this would make the tests fail but the clusters would be dangling.

Anyhow its worth a try. I'll do that and report later.

(btw you found an old maven 1.x page but there is an equivalent for the itest plugin whirr's using http://maven.apache.org/plugins/maven-failsafe-plugin/integration-test-mojo.html)
                  
> Integration tests should fail or succeed in a limited amount of time
> --------------------------------------------------------------------
>
>                 Key: WHIRR-422
>                 URL: https://issues.apache.org/jira/browse/WHIRR-422
>             Project: Whirr
>          Issue Type: Sub-task
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-422.patch
>
>
> We should make sure that the integration tests either fail or succeed in a limited (and short) amount of time. Some of them are blocking if the remote service is not available.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira