Arquillian tries to undeploy deployment which fails during deploying
----------------------------------------------------------------------
Key: ARQ-712
URL:
https://issues.jboss.org/browse/ARQ-712
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 1.0.0.CR6
Reporter: Pavel Janousek
How to reproduce:
{code}
@Deployment(name = "dep_fail", managed = false)
public static Archive<?> deploy_fail() {
// return some deployment which can't be deployed = error produced
}
@ArquillianResource private Deployer deployer;
@Test
@RunAsClient
public void testDeploy() throws Exception {
boolean fail = false;
try {
deployer.deploy("dep_fail"); // Exception raised HERE
} catch (Exception e) {
fail = true;
}
if (!fail) {
// Some tests
try {
deployer.undeploy("dep_false");
} catch (Exception e) {
}
}
}
{code}
Although deploy() ends with logged exception when deployment of _dep_fail_ fails - ARQ
tries to undeploy this artifact from AS7 server when end of testDeploy() reached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira