ingwarsw / arquillian-suite-extension

Arquillian extension that will force single deployment for all tests
Apache License 2.0
67 stars 20 forks source link

the archive test is not get undeployed #47

Closed GararJamal closed 6 years ago

GararJamal commented 6 years ago

I am using arquilian suite extension version1.1.2 and org.jboss.arquillian arquillian-bom 1.1.2.Final. the archive is deployed only once before the tests, it's OK but it seems like the undploy does not run so the build ends but the managed container is not stopped neither the test.war undeployed .

I followed the steps as recommended:

-Move all deployments to one class and make all your tests extend that class.. -If you have more than one deployment name them and add everywhere in your tests @OperateOnDeployment -Add arquillian-suite as dependency -Add @ArquillianSuiteDeployment annotation on your deployment class.

Everything worked fine except undeploy

GararJamal commented 6 years ago

I solved my problem, in fact I was using the failsafe plugin version 2.18.1, going to verison 2.19.1 solved the problem