Skip to content

Commit

Permalink
Merge pull request #21244 from famod/java-18-mp-rest-client-tck
Browse files Browse the repository at this point in the history
Don't run rest-client TCK Timeout*Tests on Java 18
  • Loading branch information
gsmet authored Nov 6, 2021
2 parents d175d85 + 5db1a77 commit 22e7feb
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions tcks/microprofile-rest-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -227,5 +227,28 @@
</plugins>
</build>
</profile>
<profile>
<id>jdk18-workarounds</id>
<activation>
<jdk>[18,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<!-- "unbind" the JDK16-17 workaround which is based on jdk.net.usePlainSocketImpl
because that property has been removed in Java 18: https://bugs.openjdk.java.net/browse/JDK-8253119
see also: https://github.com/quarkusio/quarkus/pull/19559#issuecomment-932987301 -->
<execution>
<id>jdk16-plain-socket-workaround</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 22e7feb

Please sign in to comment.