BryanCutler commented on a change in pull request #7676: URL: https://github.com/apache/arrow/pull/7676#discussion_r458925035
########## 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: would it work to remove the `skip=true` here and add ` <classpathDependencyExclude>org.apache.arrow:arrow-memory-unsafe</classpathDependencyExclude>`, so that the default test runs netty, then leave the additional `run-unsafe` section only? ---------------------------------------------------------------- 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