Skip to content

Commit

Permalink
Split executions of server tests & se tests (#1100)
Browse files Browse the repository at this point in the history
* Split executions of server tests & se tests

Signed-off-by: jansupol <jan.supol@oracle.com>
  • Loading branch information
jansupol committed Mar 3, 2022
1 parent 38f6c4b commit 0057e64
Showing 1 changed file with 31 additions and 13 deletions.
44 changes: 31 additions & 13 deletions jersey-tck/pom.xml
Expand Up @@ -37,8 +37,9 @@
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<jersey.version>3.1.0-M1</jersey.version>
<jersey.version>3.1.0-M3</jersey.version>
<glassfish.container.version>6.2.3</glassfish.container.version>
<glassfish.home>${project.build.directory}/glassfish6</glassfish.home>
<jakarta.platform.version>9.1.0</jakarta.platform.version>
<junit.jupiter.version>5.7.2</junit.jupiter.version>
<jakarta.rest.version>3.1.0</jakarta.rest.version>
Expand Down Expand Up @@ -207,7 +208,7 @@
<version>${jersey.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/glassfish6/glassfish/modules</outputDirectory>
<outputDirectory>${glassfish.home}/glassfish/modules</outputDirectory>
<destFileName>jersey-client.jar</destFileName>
</artifactItem>
<artifactItem>
Expand All @@ -216,7 +217,7 @@
<version>${jersey.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/glassfish6/glassfish/modules</outputDirectory>
<outputDirectory>${glassfish.home}/glassfish/modules</outputDirectory>
<destFileName>jersey-server.jar</destFileName>
</artifactItem>
<artifactItem>
Expand All @@ -225,7 +226,7 @@
<version>${jersey.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/glassfish6/glassfish/modules</outputDirectory>
<outputDirectory>${glassfish.home}/glassfish/modules</outputDirectory>
<destFileName>jersey-common.jar</destFileName>
</artifactItem>
<artifactItem>
Expand All @@ -234,7 +235,7 @@
<version>${jersey.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/glassfish6/glassfish/modules</outputDirectory>
<outputDirectory>${glassfish.home}/glassfish/modules</outputDirectory>
<destFileName>jersey-container-grizzly2-http.jar</destFileName>
</artifactItem>
<artifactItem>
Expand All @@ -243,7 +244,7 @@
<version>${jersey.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/glassfish6/glassfish/modules</outputDirectory>
<outputDirectory>${glassfish.home}/glassfish/modules</outputDirectory>
<destFileName>jersey-container-servlet-core.jar</destFileName>
</artifactItem>
<artifactItem>
Expand All @@ -252,7 +253,7 @@
<version>${jersey.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/glassfish6/glassfish/modules</outputDirectory>
<outputDirectory>${glassfish.home}/glassfish/modules</outputDirectory>
<destFileName>jersey-container-servlet.jar</destFileName>
</artifactItem>
<artifactItem>
Expand All @@ -261,7 +262,7 @@
<version>${jersey.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/glassfish6/glassfish/modules</outputDirectory>
<outputDirectory>${glassfish.home}/glassfish/modules</outputDirectory>
<destFileName>jersey-media-sse.jar</destFileName>
</artifactItem>
<artifactItem>
Expand All @@ -270,7 +271,7 @@
<version>${jersey.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/glassfish6/glassfish/modules</outputDirectory>
<outputDirectory>${glassfish.home}/glassfish/modules</outputDirectory>
<destFileName>jersey-media-json-binding.jar</destFileName>
</artifactItem>
<artifactItem>
Expand All @@ -279,7 +280,7 @@
<version>${jakarta.rest.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/glassfish6/glassfish/modules</outputDirectory>
<outputDirectory>${glassfish.home}/glassfish/modules</outputDirectory>
<destFileName>jakarta.ws.rs-api.jar</destFileName>
</artifactItem>
</artifactItems>
Expand Down Expand Up @@ -441,14 +442,18 @@
<version>3.0.0-M5</version>
<executions>
<execution>
<id>gf-tests</id>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<excludes>
<exclude>**/SeBootstrapIT.java</exclude>
</excludes>
<dependenciesToScan>jakarta.ws.rs:${tck.artifactId}</dependenciesToScan>
<systemPropertyVariables>
<GLASSFISH_HOME>${project.build.directory}/glassfish6</GLASSFISH_HOME>
<GLASSFISH_HOME>${glassfish.home}</GLASSFISH_HOME>
<servlet_adaptor>org.glassfish.jersey.servlet.ServletContainer</servlet_adaptor>
<webServerHost>localhost</webServerHost>
<webServerPort>8080</webServerPort>
Expand All @@ -460,13 +465,26 @@
<porting.ts.url.class.1>ee.jakarta.tck.ws.rs.lib.implementation.sun.common.SunRIURL</porting.ts.url.class.1>
<jimage.dir>${project.build.directory}/jdk11-bundle</jimage.dir>
<optional.tech.packages.to.ignore>jakarta.xml.bind</optional.tech.packages.to.ignore>
<signature.sigTestClasspath>${project.build.directory}/glassfish6/glassfish/modules/jakarta.ws.rs-api.jar:${project.build.directory}/glassfish6/glassfish/modules/jakarta.xml.bind-api.jar:${project.build.directory}/jdk11-bundle/java.base:${project.build.directory}/jdk11-bundle/java.rmi:${project.build.directory}/jdk11-bundle/java.sql:${project.build.directory}/jdk11-bundle/java.naming</signature.sigTestClasspath>
<signature.sigTestClasspath>${glassfish.home}/glassfish/modules/jakarta.ws.rs-api.jar:${glassfish.home}/glassfish/modules/jakarta.xml.bind-api.jar:${project.build.directory}/jdk11-bundle/java.base:${project.build.directory}/jdk11-bundle/java.rmi:${project.build.directory}/jdk11-bundle/java.sql:${project.build.directory}/jdk11-bundle/java.naming</signature.sigTestClasspath>
</systemPropertyVariables>
<environmentVariables>
<GLASSFISH_HOME>${project.build.directory}/glassfish6</GLASSFISH_HOME>
<GLASSFISH_HOME>${glassfish.home}</GLASSFISH_HOME>
</environmentVariables>
</configuration>
</execution>
<execution>
<id>se-tests</id>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<includes>
<include>**/SeBootstrapIT.java</include>
</includes>
<dependenciesToScan>jakarta.ws.rs:${tck.artifactId}</dependenciesToScan>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Expand Down

0 comments on commit 0057e64

Please sign in to comment.