Skip to content

Commit 7d563ac

Browse files
committed
Disable assertions in Maven Surefire plugin to prevent bug in bigdataviewer-core.
* see bigdataviewer/bigdataviewer-core#217
1 parent 209d9a5 commit 7d563ac

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,12 +260,13 @@
260260
<build>
261261
<plugins>
262262
<!-- Configure the maven-surefire-plugin to use a heap size of 1gb while running tests. -->
263+
<!-- Assertions are disabled via -da flag to avoid a bug in bigdataviewer-core:, see https://github.com/bigdataviewer/bigdataviewer-core/pull/217. -->
263264
<plugin>
264265
<groupId>org.apache.maven.plugins</groupId>
265266
<artifactId>maven-surefire-plugin</artifactId>
266267
<version>3.1.0</version>
267268
<configuration>
268-
<argLine>-Xmx1g</argLine>
269+
<argLine>-Xmx1g -da</argLine>
269270
</configuration>
270271
</plugin>
271272
</plugins>
@@ -276,12 +277,13 @@
276277
<build>
277278
<plugins>
278279
<!-- Configure the maven-surefire-plugin to use a heap size of 1gb while running tests for jacoco coverage analysis. -->
280+
<!-- Assertions are disabled via -da flag to avoid a bug in bigdataviewer-core:, see https://github.com/bigdataviewer/bigdataviewer-core/pull/217. -->
279281
<plugin>
280282
<groupId>org.apache.maven.plugins</groupId>
281283
<artifactId>maven-surefire-plugin</artifactId>
282284
<version>3.1.0</version>
283285
<configuration>
284-
<argLine>@{argLine} -Xmx1g</argLine>
286+
<argLine>@{argLine} -Xmx1g -da</argLine>
285287
</configuration>
286288
</plugin>
287289
<plugin>

0 commit comments

Comments
 (0)