[jboss-jira] [JBoss JIRA] (WFLY-1182) @RestoreASConfigAfterTest to make a snapshot before test and reload it after.

Brian Stansberry (JIRA) issues at jboss.org
Thu Jul 10 21:21:24 EDT 2014


     [ https://issues.jboss.org/browse/WFLY-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFLY-1182:
-----------------------------------

    Component/s: Test Suite


> @RestoreASConfigAfterTest to make a snapshot before test and reload it after.
> -----------------------------------------------------------------------------
>
>                 Key: WFLY-1182
>                 URL: https://issues.jboss.org/browse/WFLY-1182
>             Project: WildFly
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Test Suite
>            Reporter: Ondrej Zizka
>            Assignee: Aslak Knutsen
>
> Having a possibility to restore server configuration after the test is run, or similar principle, would be very cool.
> For example, there are some tests which change datasource config quite dramatically.
> And getting it back to the original state afterwards requires a lot of coding.
> So instead, the test would have {{@RestoreASConfigAfterTest}}
> and Arq would re-load a snapshot it made before the test was run.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list