Skip to content

Commit

Permalink
disable randomly (on infra) failing tests
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <[email protected]>
  • Loading branch information
lukasj committed Mar 25, 2022
1 parent fbd0bb0 commit 9551f11
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,31 +125,32 @@
<executable>${tool.wsimport}</executable>
</configuration>
</execution>
<execution>
<id>id5</id>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<executable>${tool.wsimport}</executable>
<wsdlUrls>
<wsdlUrl>https://raw.githubusercontent.com/eclipse-ee4j/metro-jax-ws/master/jaxws-ri/tests/unit/testcases/fromwsdl/additional_header/doclit/server/sample.wsdl</wsdlUrl>
</wsdlUrls>
<packageName>org.jvnet.jaxwsri.sample</packageName>
<wsdlLocation>http://example.com:43210/my?wsdl</wsdlLocation>
<xadditionalHeaders>true</xadditionalHeaders>
<destDir>${project.build.directory}/custom/classes</destDir>
<sourceDestDir>${project.build.directory}/custom/sources</sourceDestDir>
<target>3.0</target>
<xnocompile>false</xnocompile>
<xdebug>true</xdebug>
<bindingFiles>
<bindingFile>${basedir}/src/remote-xjc/bindings.xjc</bindingFile>
<bindingFile>bindings-default.xjc</bindingFile>
</bindingFiles>
<wsdlDirectory>${project.build.directory}</wsdlDirectory>
</configuration>
</execution>
<!-- unstable on public infra -->
<!-- <execution>-->
<!-- <id>id5</id>-->
<!-- <goals>-->
<!-- <goal>wsimport</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <executable>${tool.wsimport}</executable>-->
<!-- <wsdlUrls>-->
<!-- <wsdlUrl>https://raw.githubusercontent.com/eclipse-ee4j/metro-jax-ws/master/jaxws-ri/tests/unit/testcases/fromwsdl/additional_header/doclit/server/sample.wsdl</wsdlUrl>-->
<!-- </wsdlUrls>-->
<!-- <packageName>org.jvnet.jaxwsri.sample</packageName>-->
<!-- <wsdlLocation>http://example.com:43210/my?wsdl</wsdlLocation>-->
<!-- <xadditionalHeaders>true</xadditionalHeaders>-->
<!-- <destDir>${project.build.directory}/custom/classes</destDir>-->
<!-- <sourceDestDir>${project.build.directory}/custom/sources</sourceDestDir>-->
<!-- <target>3.0</target>-->
<!-- <xnocompile>false</xnocompile>-->
<!-- <xdebug>true</xdebug>-->
<!-- <bindingFiles>-->
<!-- <bindingFile>${basedir}/src/remote-xjc/bindings.xjc</bindingFile>-->
<!-- <bindingFile>bindings-default.xjc</bindingFile>-->
<!-- </bindingFiles>-->
<!-- <wsdlDirectory>${project.build.directory}</wsdlDirectory>-->
<!-- </configuration>-->
<!-- </execution>-->
<execution>
<id>id6-test</id>
<goals>
Expand Down
49 changes: 25 additions & 24 deletions jaxws-ri/extras/jaxws-maven-plugin/src/test/it/wsimport22/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,30 +57,31 @@
<goal>wsimport</goal>
</goals>
</execution>
<execution>
<id>id2</id>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<wsdlUrls>
<wsdlUrl>https://raw.githubusercontent.com/eclipse-ee4j/metro-jax-ws/master/jaxws-ri/tests/unit/testcases/fromwsdl/additional_header/doclit/server/sample.wsdl</wsdlUrl>
</wsdlUrls>
<packageName>org.jvnet.jaxwsri.sample</packageName>
<wsdlLocation>http://example.com:43210/my?wsdl</wsdlLocation>
<xadditionalHeaders>true</xadditionalHeaders>
<destDir>${project.build.directory}/custom/classes</destDir>
<sourceDestDir>${project.build.directory}/custom/sources</sourceDestDir>
<target>3.0</target>
<xnocompile>false</xnocompile>
<xdebug>true</xdebug>
<bindingFiles>
<bindingFile>${basedir}/src/remote-xjc/bindings.xjc</bindingFile>
<bindingFile>bindings-default.xjc</bindingFile>
</bindingFiles>
<wsdlDirectory>${project.build.directory}</wsdlDirectory>
</configuration>
</execution>
<!-- unstable on public infra -->
<!-- <execution>-->
<!-- <id>id2</id>-->
<!-- <goals>-->
<!-- <goal>wsimport</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <wsdlUrls>-->
<!-- <wsdlUrl>https://raw.githubusercontent.com/eclipse-ee4j/metro-jax-ws/master/jaxws-ri/tests/unit/testcases/fromwsdl/additional_header/doclit/server/sample.wsdl</wsdlUrl>-->
<!-- </wsdlUrls>-->
<!-- <packageName>org.jvnet.jaxwsri.sample</packageName>-->
<!-- <wsdlLocation>http://example.com:43210/my?wsdl</wsdlLocation>-->
<!-- <xadditionalHeaders>true</xadditionalHeaders>-->
<!-- <destDir>${project.build.directory}/custom/classes</destDir>-->
<!-- <sourceDestDir>${project.build.directory}/custom/sources</sourceDestDir>-->
<!-- <target>3.0</target>-->
<!-- <xnocompile>false</xnocompile>-->
<!-- <xdebug>true</xdebug>-->
<!-- <bindingFiles>-->
<!-- <bindingFile>${basedir}/src/remote-xjc/bindings.xjc</bindingFile>-->
<!-- <bindingFile>bindings-default.xjc</bindingFile>-->
<!-- </bindingFiles>-->
<!-- <wsdlDirectory>${project.build.directory}</wsdlDirectory>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- <execution>
<id>id2</id>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ public void jaxwscommons81_wsimport() throws IOException {
//assertFileNotPresent(project, "target/jaxws/wsimport/org/jvnet/jax_ws_commons/wsimport/test/HelloWs.java");

//check sample.wsdl (url)
Assertions.assertFilePresent(project, "target/custom/classes/org/jvnet/jaxwsri/sample/GreetersPortT.class");
Assertions.assertFilePresent(project, "target/custom/sources/org/jvnet/jaxwsri/sample/MyGreeter.java");
// Assertions.assertFilePresent(project, "target/custom/classes/org/jvnet/jaxwsri/sample/GreetersPortT.class");
// Assertions.assertFilePresent(project, "target/custom/sources/org/jvnet/jaxwsri/sample/MyGreeter.java");
//-wsdlLocation
Assertions.assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/MyGreeter.java", "http://example.com:43210/my?wsdl");
// Assertions.assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/MyGreeter.java", "http://example.com:43210/my?wsdl");
//default dependency on JDK version
Assertions.assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/GreetersPortT.java", "JAX-WS RI " + version);
// Assertions.assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/GreetersPortT.java", "JAX-WS RI " + version);
//-target 2.0
// assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/GreetersPortT.java", "Generated source version: 2.0");
//-XadditionalHeaders
Assertions.assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/GreetersPortT.java", "Holder<String> additionalHeader2");
// Assertions.assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/GreetersPortT.java", "Holder<String> additionalHeader2");
// //xjc plugins (-Xequals etc)
// assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/EchoType.java", "import org.jvnet.jaxb2_commons.lang.Equals;");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ public void wsimport22() throws IOException {
//assertFileNotPresent(project, "target/jaxws/wsimport/org/jvnet/jax_ws_commons/wsimport/test/HelloWs.java");

//check sample.wsdl (url)
Assertions.assertFilePresent(project, "target/custom/classes/org/jvnet/jaxwsri/sample/GreetersPortT.class");
Assertions.assertFilePresent(project, "target/custom/sources/org/jvnet/jaxwsri/sample/MyGreeter.java");
// Assertions.assertFilePresent(project, "target/custom/classes/org/jvnet/jaxwsri/sample/GreetersPortT.class");
// Assertions.assertFilePresent(project, "target/custom/sources/org/jvnet/jaxwsri/sample/MyGreeter.java");
//-wsdlLocation
Assertions.assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/MyGreeter.java", "http://example.com:43210/my?wsdl");
// Assertions.assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/MyGreeter.java", "http://example.com:43210/my?wsdl");
//default dependency on 2.2.x
Assertions.assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/GreetersPortT.java", "JAX-WS RI " + version);
// Assertions.assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/GreetersPortT.java", "JAX-WS RI " + version);
//-target 2.0
// assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/GreetersPortT.java", "Generated source version: 2.0");
//-XadditionalHeaders
Assertions.assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/GreetersPortT.java", "Holder<String> additionalHeader2");
// Assertions.assertFileContains(project, "target/custom/sources/org/jvnet/jaxwsri/sample/GreetersPortT.java", "Holder<String> additionalHeader2");

//check AddService
Assertions.assertFilePresent(project, "target/test-classes/wsimport/test/AddService.class");
Expand Down

0 comments on commit 9551f11

Please sign in to comment.