[jboss-jira] [JBoss JIRA] (WFLY-1439) ServerSetupObserver leaks changes if exception is thrown

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Fri Jun 21 00:25:20 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783455#comment-12783455 ] 

RH Bugzilla Integration commented on WFLY-1439:
-----------------------------------------------

baranowb <bbaranow at redhat.com> made a comment on [bug 969346|https://bugzilla.redhat.com/show_bug.cgi?id=969346]


                
> ServerSetupObserver leaks changes if exception is thrown
> --------------------------------------------------------
>
>                 Key: WFLY-1439
>                 URL: https://issues.jboss.org/browse/WFLY-1439
>             Project: WildFly
>          Issue Type: Enhancement
>          Components: Test Suite
>    Affects Versions: 8.0.0.Alpha2
>            Reporter: Bartosz Baranowski
>            Assignee: Bartosz Baranowski
>            Priority: Minor
>              Labels: testsuite
>             Fix For: 8.0.0.Alpha2
>
>
> If class used as @ServerSetup throws exception from callback, ServerSetupObserver purges all tasks that already have been executed. This means that all changes that have been introduced to AS model will remain( iirc persisted as part of config used my arquillian).
> Hence other tests may fail due to that.
> Ive talked with Stuart and according to his statement @ServerSetup class must not throw exception from callbacks.
> ServerSetupObserver should cleanup in a more graceful manner.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list