Skip to content

Commit b021f32

Browse files
committed
Register tomee-remote and tomee-remote-secpol Arquillian containers for Jakarta Data tests
Under -Pall-adapters the arquillian-tomee-tests parent POM runs four Surefire executions (embedded, tomee-remote, tomee-remote-secpol, tomee-remote-plume). The data-tests arquillian.xml only declared tomee-embedded, so the three remote launches failed at init with 'No container or group found that match given qualifier'. Add the missing qualifiers following the config-tests pattern; tomee-remote-plume reuses the tomee-remote qualifier.
1 parent 3bc27be commit b021f32

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

  • arquillian/arquillian-tomee-tests/arquillian-tomee-data-tests/src/test/resources

arquillian/arquillian-tomee-tests/arquillian-tomee-data-tests/src/test/resources/arquillian.xml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,35 @@
3131
</property>
3232
</configuration>
3333
</container>
34+
<container qualifier="tomee-remote">
35+
<configuration>
36+
<property name="httpPort">-1</property>
37+
<property name="ajpPort">-1</property>
38+
<property name="stopPort">-1</property>
39+
<property name="dir">target/tomee-remote</property>
40+
<property name="appWorkingDir">target/arquillian-remote-working-dir</property>
41+
<property name="portRange">33001-36000</property>
42+
<property name="cleanOnStartUp">true</property>
43+
<property name="simpleLog">true</property>
44+
<property name="properties">
45+
openejb.classloader.forced-load=org.apache.openejb.arquillian.tests
46+
</property>
47+
</configuration>
48+
</container>
49+
<container qualifier="tomee-remote-secpol">
50+
<configuration>
51+
<property name="httpPort">-1</property>
52+
<property name="ajpPort">-1</property>
53+
<property name="stopPort">-1</property>
54+
<property name="dir">target/tomee-remote</property>
55+
<property name="appWorkingDir">target/arquillian-remote-working-dir</property>
56+
<property name="portRange">33001-36000</property>
57+
<property name="cleanOnStartUp">true</property>
58+
<property name="simpleLog">true</property>
59+
<property name="properties">
60+
openejb.classloader.forced-load=org.apache.openejb.arquillian.tests
61+
jakarta.security.jacc.policy.provider=sun.security.provider.PolicyFile
62+
</property>
63+
</configuration>
64+
</container>
3465
</arquillian>

0 commit comments

Comments
 (0)