[jboss-jira] [JBoss JIRA] (WFLY-1198) Arq: @CleanContainerDataDirsAfterTest - Delete data/ and /tmp after test is run.
James Perkins (JIRA)
issues at jboss.org
Wed Dec 9 18:18:03 EST 2015
[ https://issues.jboss.org/browse/WFLY-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins closed WFLY-1198.
-------------------------------
Resolution: Out of Date
> Arq: @CleanContainerDataDirsAfterTest - Delete data/ and /tmp after test is run.
> --------------------------------------------------------------------------------
>
> Key: WFLY-1198
> URL: https://issues.jboss.org/browse/WFLY-1198
> Project: WildFly
> Issue Type: Feature Request
> Components: Test Suite
> Reporter: Ondrej Zizka
> Assignee: Aslak Knutsen
>
> Some tests leave files in AS /data dir.
> And the tested modules bypass their configuration from standalone.xml and rather rely on these data.
> This prevents running multiple tests within a single AS instance run; therefore, multiple AS instances, Surefire executions or Maven modules are needed.
> Having something like {{@CleanContainerDataDirsAfterTest}} per method would make writing these tests much easier and faster to run.
> Further, sometimes these tests run with multiple instances (clustering, messaging, ...).
> Not all of them may loose data in some scenarios - some of them must keep the data (e.g. for failover testing).
> Therefore, the annotation should have parameters - a list of container config names (matching arquillian.xml). Only those instances would be cleaned.
> {code:java}
> @CleanContainerDataDirsAfterTest({"InstanceFoo", "InstanceBar"})
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list