Do not reuse surefire forks for testing
The offline test messes up with the online test if executed in advance because of the static HTTP mock. With no guaranteed execution order all online tests may be skipped. To prevent this, run each test in its own fork.
This commit is contained in:
parent
3446d1590e
commit
3f47da6134
3
pom.xml
3
pom.xml
@ -89,6 +89,9 @@
|
|||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>2.22.1</version>
|
<version>2.22.1</version>
|
||||||
|
<configuration>
|
||||||
|
<reuseForks>false</reuseForks>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user