Skip to content

Commit

Permalink
Disable AnnotationListener for integration tests
Browse files Browse the repository at this point in the history
The annotation listener adds timeouts to all tests, which changes the
threading model, which breaks arquillian.

I've created an issue[1] on arquillian for this, but until that is fixed,
timeouts cannot be used with arquillian.

[1] arquillian/arquillian-core#168
  • Loading branch information
ivankelly committed Apr 4, 2018
1 parent 832748c commit 669b223
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/integration-tests-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<properties>
<property>
<name>listener</name>
<!-- AnnotationListener breaks arquillian, so don't use it //-->
<value>org.apache.pulsar.tests.PulsarTestListener</value>
</property>
</properties>

<argLine>-Xmx2G -XX:MaxDirectMemorySize=8G
-Dio.netty.leakDetectionLevel=advanced
</argLine>
Expand Down

0 comments on commit 669b223

Please sign in to comment.