Skip to content

Commit fbb0d92

Browse files
authored
surefire: ignore system classloader to make tests run (#3038)
Due to issue described in Surefix bug: https://issues.apache.org/jira/browse/SUREFIRE-1588 Debian-based users/developers can no longer build CloudStack 4.11+ branches. The other workaround is to have the following jvm property: jdk.net.URLClassPath.disableClassPathURLCheck=true Signed-off-by: Rohit Yadav <rohit@apache.org>
1 parent fb80e51 commit fbb0d92

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,6 +1047,7 @@
10471047
<artifactId>maven-surefire-plugin</artifactId>
10481048
<version>2.18.1</version>
10491049
<configuration>
1050+
<useSystemClassLoader>false</useSystemClassLoader>
10501051
<argLine>-Djava.security.egd=file:/dev/./urandom -noverify</argLine>
10511052
</configuration>
10521053
</plugin>

0 commit comments

Comments
 (0)