Skip to content

Commit 1982aa0

Browse files
jashmoreAtlassianJaidenAshmore
authored andcommitted
refs #54: Fix flaky test due to weird maven surefire plugin problem.
See https://stackoverflow.com/a/51099726
1 parent 144b668 commit 1982aa0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575
<logback.version>1.2.3</logback.version>
7676
<lombok.version>1.16.18</lombok.version>
7777
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss</maven.build.timestamp.format>
78+
<maven.failsafe.version>2.22.1</maven.failsafe.version>
79+
<maven.surefire.version>2.22.1</maven.surefire.version>
7880
<mockito.version>2.13.0</mockito.version>
7981
<pitest.version>1.4.5</pitest.version>
8082
<slf4j.version>1.7.25</slf4j.version>
@@ -226,7 +228,7 @@
226228
<plugin>
227229
<groupId>org.apache.maven.plugins</groupId>
228230
<artifactId>maven-surefire-plugin</artifactId>
229-
<version>2.20.1</version>
231+
<version>${maven.surefire.version}</version>
230232
<configuration>
231233
<runOrder>random</runOrder>
232234
<excludes>
@@ -237,7 +239,7 @@
237239
<plugin>
238240
<groupId>org.apache.maven.plugins</groupId>
239241
<artifactId>maven-failsafe-plugin</artifactId>
240-
<version>2.20.1</version>
242+
<version>${maven.failsafe.version}</version>
241243
<configuration>
242244
<includes>
243245
<include>it/**/*.java</include>

0 commit comments

Comments
 (0)