ingwarsw / arquillian-suite-extension

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

Using with Swarm provokes multiple deployments #50

Open joaoneves opened 6 years ago

joaoneves commented 6 years ago

Howdy,

when I tried to use swarm, I got some error. Here is the relevant piece of the stacktrace:

Caused by: java.lang.IllegalArgumentException: Can not add multiple org.jboss.shrinkwrap.api.Archive deployments with the same name: _DEFAULT_

There is any workaround to deal with it? It could be fixed? Thanks in advance.

ingwarsw commented 6 years ago

Could you create some sample project showing your error? That would help a lot..

joaoneves commented 6 years ago

Hello, thanks for the feedback. I´ve tested using the Payara container, and it worked as expected, using only one deployment. I´ll provide a sample project using Swarm so we can continue investigating this issue.

joaoneves commented 6 years ago

swarm.zip

Here is a sample maven project which you can reproduce the error. Sorry for taking too much time.

joaoneves commented 6 years ago

Ping! Do you need some help, so we can evolve on this issue?