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 39009e610d0fe3985d3c90ed9111e56ddfa73e07 Author: Jean-Louis Monteiro <[email protected]> AuthorDate: Wed Oct 12 18:17:22 2022 +0200 Make MP JWT TCK to run in parallel --- tck/microprofile-tck/jwt/pom.xml | 18 +++++++++++++----- .../jwt/src/test/resources/arquillian.xml | 6 ------ 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/tck/microprofile-tck/jwt/pom.xml b/tck/microprofile-tck/jwt/pom.xml index bab95839ee..856654e12c 100644 --- a/tck/microprofile-tck/jwt/pom.xml +++ b/tck/microprofile-tck/jwt/pom.xml @@ -188,9 +188,11 @@ <suiteXmlFiles> <suiteXmlFile>${project.build.directory}/dependency/suites/tck-base-suite.xml</suiteXmlFile> </suiteXmlFiles> - <reuseForks>false</reuseForks> - <parallel>none</parallel> - <threadCount>4</threadCount> + <reuseForks>true</reuseForks> + <forkCount>1C</forkCount> + <systemPropertyVariables> + <java.io.tmpdir>./target</java.io.tmpdir> + </systemPropertyVariables> </configuration> </plugin> <plugin> @@ -228,8 +230,11 @@ <goal>test</goal> </goals> <configuration> - <systemPropertyVariables combine.children="append"> + <reuseForks>true</reuseForks> + <forkCount>1C</forkCount> + <systemPropertyVariables> <arquillian.launch>tomee-plus</arquillian.launch> + <java.io.tmpdir>./target</java.io.tmpdir> </systemPropertyVariables> </configuration> </execution> @@ -239,8 +244,11 @@ <goal>test</goal> </goals> <configuration> - <systemPropertyVariables combine.children="append"> + <reuseForks>true</reuseForks> + <forkCount>1C</forkCount> + <systemPropertyVariables> <arquillian.launch>tomee-plume</arquillian.launch> + <java.io.tmpdir>./target</java.io.tmpdir> </systemPropertyVariables> </configuration> </execution> diff --git a/tck/microprofile-tck/jwt/src/test/resources/arquillian.xml b/tck/microprofile-tck/jwt/src/test/resources/arquillian.xml index efd9fad740..c90be93119 100644 --- a/tck/microprofile-tck/jwt/src/test/resources/arquillian.xml +++ b/tck/microprofile-tck/jwt/src/test/resources/arquillian.xml @@ -30,8 +30,6 @@ <property name="classifier">microprofile</property> <property name="debug">false</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> @@ -42,8 +40,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 @@ -57,8 +53,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
