Skip to content

Commit 771349a

Browse files
committed
#130 Make the surefire plugin use a JVM option to allow Mockito to work properly inside the release container.
this does have the sideaffect of slowing each of the tests, perhaps I'll modify this to be a profile triggered by an environment option, but for now it's not _too_ slow to run the build.
1 parent 8aebbb7 commit 771349a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pom.xml

+3
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@
142142
<artifactId>maven-surefire-plugin</artifactId>
143143
<version>3.0.0-M4</version>
144144
<configuration>
145+
<argLine>
146+
-XX:+StartAttachListener
147+
</argLine>
145148
<excludes>
146149
<exclude>**/*IntegrationTest.java</exclude>
147150
</excludes>

0 commit comments

Comments
 (0)