Skip to content

Commit b2614e0

Browse files
committed
Fix tests in CI environment
(cherry picked from commit ae02f2c)
1 parent e3517ac commit b2614e0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,11 @@
437437
<include>**/ServerTests.*</include>
438438
<include>**/HATests.*</include>
439439
</includes>
440+
<!--
441+
needed because of bug in OpenJDK 8 u181 on Debian distros
442+
see https://stackoverflow.com/questions/53010200/maven-surefire-could-not-find-forkedbooter-class
443+
-->
444+
<argLine>-Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
440445
</configuration>
441446
<executions>
442447
<execution>
@@ -473,6 +478,11 @@
473478
<systemPropertyVariables>
474479
<use.nio>true</use.nio>
475480
</systemPropertyVariables>
481+
<!--
482+
needed because of bug in OpenJDK 8 u181 on Debian distros
483+
see https://stackoverflow.com/questions/53010200/maven-surefire-could-not-find-forkedbooter-class
484+
-->
485+
<argLine>-Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
476486
</configuration>
477487
</plugin>
478488
</plugins>

0 commit comments

Comments
 (0)