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:
Stefan Kalscheuer 2019-03-22 19:10:19 +01:00
parent 3446d1590e
commit 3f47da6134

View File

@ -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>