rymurr commented on a change in pull request #7676: URL: https://github.com/apache/arrow/pull/7676#discussion_r458672541
########## File path: java/vector/pom.xml ########## @@ -97,6 +103,58 @@ </resources> <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <enableAssertions>true</enableAssertions> + <childDelegation>true</childDelegation> + <forkCount>${forkCount}</forkCount> + <reuseForks>true</reuseForks> + <systemPropertyVariables> + <java.io.tmpdir>${project.build.directory}</java.io.tmpdir> + <io.netty.tryReflectionSetAccessible>true</io.netty.tryReflectionSetAccessible> + <user.timezone>UTC</user.timezone> + </systemPropertyVariables> + <!-- Note: changing the below configuration might increase the max allocation size for a vector + which in turn can cause OOM. --> + <argLine>-Darrow.vector.max_allocation_bytes=1048576</argLine> + </configuration> + <executions> + <execution> + <!-- Skip default tests as they would have two allocation managers on classpath --> Review comment: Hey @liyafan82, we can skip this section but we will run the tests 3 times then. One of the three will be with an unknown Allocator (it will be chosen at runtime depending on classpath). I thought it was a bit of a waste. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org