You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jg...@apache.org on 2018/08/21 23:22:59 UTC

[2/2] tomee git commit: Add polling-domain to exclusions.list so that the persistence units are not picked up twice

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/11b75830
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/11b75830
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/11b75830

Branch: refs/heads/tomee-7.1.x
Commit: 11b75830c01449f8237a0e9c53cfc8d1cb8b5a7a
Parents: abfc263
Author: Jonathan Gallimore <jg...@tomitribe.com>
Authored: Wed Aug 22 00:22:06 2018 +0100
Committer: Jonathan Gallimore <jg...@tomitribe.com>
Committed: Wed Aug 22 00:22:06 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/11b75830/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 aadd71e..200d477 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;
@@ -56,6 +57,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