Skip to content

Commit dc53a5e

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

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
@@ -439,6 +439,11 @@
439439
<include>**/ServerTests.*</include>
440440
<include>**/HATests.*</include>
441441
</includes>
442+
<!--
443+
needed because of bug in OpenJDK 8 u181 on Debian distros
444+
see https://stackoverflow.com/questions/53010200/maven-surefire-could-not-find-forkedbooter-class
445+
-->
446+
<argLine>-Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
442447
</configuration>
443448
<executions>
444449
<execution>
@@ -475,6 +480,11 @@
475480
<systemPropertyVariables>
476481
<use.nio>true</use.nio>
477482
</systemPropertyVariables>
483+
<!--
484+
needed because of bug in OpenJDK 8 u181 on Debian distros
485+
see https://stackoverflow.com/questions/53010200/maven-surefire-could-not-find-forkedbooter-class
486+
-->
487+
<argLine>-Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
478488
</configuration>
479489
</plugin>
480490
</plugins>

0 commit comments

Comments
 (0)