This is an automated email from the ASF dual-hosted git repository. jlmonteiro pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomee.git
commit f0958303d3b30cbd272091bc8b85d5dbc56351c1 Author: Jean-Louis Monteiro <[email protected]> AuthorDate: Wed Oct 12 19:43:22 2022 +0200 MP Fault Tolerance TCK does not currently support parallelism --- tck/microprofile-tck/fault-tolerance/pom.xml | 20 +++++++++++++------- .../src/test/resources/arquillian.xml | 6 ------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/tck/microprofile-tck/fault-tolerance/pom.xml b/tck/microprofile-tck/fault-tolerance/pom.xml index abeac88452..77bffc6c4d 100644 --- a/tck/microprofile-tck/fault-tolerance/pom.xml +++ b/tck/microprofile-tck/fault-tolerance/pom.xml @@ -31,16 +31,20 @@ <build> <plugins> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> - <!-- Updated version to fix hanging text --> <version>3.0.0-M6</version> <configuration> - <reuseForks>true</reuseForks> - <forkCount>1C</forkCount> + <reuseForks>false</reuseForks> + <forkCount>0</forkCount> <dependenciesToScan> <dependency>org.eclipse.microprofile.fault-tolerance:microprofile-fault-tolerance-tck</dependency> </dependenciesToScan> <trimStackTrace>false</trimStackTrace> + <systemPropertyVariables> + <arquillian.launch>tomee-microprofile</arquillian.launch> + <java.io.tmpdir>./target</java.io.tmpdir> + </systemPropertyVariables> </configuration> </plugin> </plugins> @@ -61,10 +65,11 @@ <goal>test</goal> </goals> <configuration> - <reuseForks>true</reuseForks> - <forkCount>1C</forkCount> + <reuseForks>false</reuseForks> + <forkCount>0</forkCount> <systemPropertyVariables> <arquillian.launch>tomee-plus</arquillian.launch> + <java.io.tmpdir>./target</java.io.tmpdir> </systemPropertyVariables> </configuration> </execution> @@ -74,10 +79,11 @@ <goal>test</goal> </goals> <configuration> - <reuseForks>true</reuseForks> - <forkCount>1C</forkCount> + <reuseForks>false</reuseForks> + <forkCount>0</forkCount> <systemPropertyVariables> <arquillian.launch>tomee-plume</arquillian.launch> + <java.io.tmpdir>./target</java.io.tmpdir> </systemPropertyVariables> </configuration> </execution> diff --git a/tck/microprofile-tck/fault-tolerance/src/test/resources/arquillian.xml b/tck/microprofile-tck/fault-tolerance/src/test/resources/arquillian.xml index da140a628d..4ab5752a67 100644 --- a/tck/microprofile-tck/fault-tolerance/src/test/resources/arquillian.xml +++ b/tck/microprofile-tck/fault-tolerance/src/test/resources/arquillian.xml @@ -29,8 +29,6 @@ <property name="debug">false</property> <property name="classifier">microprofile</property> <property name="conf">src/test/conf</property> - <property name="dir">target/tomee</property> - <property name="appWorkingDir">target/workdir</property> <property name="cleanOnStartUp">true</property> </configuration> </container> @@ -41,8 +39,6 @@ <property name="stopPort">-1</property> <property name="classifier">plus</property> <property name="conf">src/test/conf</property> - <property name="dir">target/tomee</property> - <property name="appWorkingDir">target/workdir</property> <property name="cleanOnStartUp">true</property> <property name="properties"> tomee.mp.scan = all @@ -56,8 +52,6 @@ <property name="stopPort">-1</property> <property name="classifier">plume</property> <property name="conf">src/test/conf</property> - <property name="dir">target/tomee</property> - <property name="appWorkingDir">target/workdir</property> <property name="cleanOnStartUp">true</property> <property name="properties"> tomee.mp.scan = all
