Add polling-domain to exclusions.list so that the persistence units are not picked up twice
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/696ccb90 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/696ccb90 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/696ccb90 Branch: refs/heads/master Commit: 696ccb90a62d33bdc8ed437d4b7d1bab8fee6cd2 Parents: c12d64a Author: Jonathan Gallimore <jgallim...@tomitribe.com> Authored: Wed Aug 22 00:22:06 2018 +0100 Committer: Jonathan Gallimore <jgallim...@tomitribe.com> Committed: Wed Aug 22 10:17:07 2018 +0100 ---------------------------------------------------------------------- .../src/test/java/jug/rest/arquillian/SubjectServiceTomEETest.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tomee/blob/696ccb90/examples/polling-parent/polling-web/src/test/java/jug/rest/arquillian/SubjectServiceTomEETest.java ---------------------------------------------------------------------- diff --git a/examples/polling-parent/polling-web/src/test/java/jug/rest/arquillian/SubjectServiceTomEETest.java b/examples/polling-parent/polling-web/src/test/java/jug/rest/arquillian/SubjectServiceTomEETest.java index ab7ccf4..d55d326 100644 --- a/examples/polling-parent/polling-web/src/test/java/jug/rest/arquillian/SubjectServiceTomEETest.java +++ b/examples/polling-parent/polling-web/src/test/java/jug/rest/arquillian/SubjectServiceTomEETest.java @@ -31,6 +31,7 @@ import org.jboss.arquillian.junit.Arquillian; import org.jboss.arquillian.test.api.ArquillianResource; import org.jboss.shrinkwrap.api.asset.ClassLoaderAsset; import org.jboss.shrinkwrap.api.asset.EmptyAsset; +import org.jboss.shrinkwrap.api.asset.StringAsset; import org.jboss.shrinkwrap.api.spec.WebArchive; import org.junit.Test; import org.junit.runner.RunWith; @@ -59,6 +60,7 @@ public class SubjectServiceTomEETest { .addAsWebInfResource(new ClassLoaderAsset("META-INF/env-entries.properties"), "env-entries.properties") .addAsWebInfResource(new ClassLoaderAsset("META-INF/resources.xml"), "resources.xml") .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml") + .addAsWebInfResource(new StringAsset("polling-domain"), "exclusions.list") .addPackage(PollingRouter.class.getPackage()) // core .addPackage(SubjectDao.class.getPackage()) // core .addPackage(SubjectService.class.getPackage()) // front