Skip to content

Commit

Permalink
Disable AnnotationListener for integration tests (#1496)
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 authored and merlimat committed Apr 5, 2018
1 parent 1edf4d9 commit 88a9ba3
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 88a9ba3

Please sign in to comment.