We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jvm.test.junit.options
Currently IntelliJ test configuration does not respect jvm options set up for test.junit configured in pants.ini
test.junit
$ ./pants options | grep jvm.test.junit.options jvm.test.junit.options = ['-Djava.awt.headless=true', '-Djava.net.preferIPv4Stack=true', '-Xmx2g', '-XX:MaxMetaspaceSize=512m'] (from CONFIG in pants.ini)
So when we create the run configurations, we should automatically add it, around https://github.com/pantsbuild/intellij-pants-plugin/blob/master/src/com/twitter/intellij/pants/components/impl/PantsProjectComponentImpl.java#L188
Interface to access pants options: https://github.com/pantsbuild/intellij-pants-plugin/blob/master/common/com/twitter/intellij/pants/model/PantsOptions.java#L46
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Problem
Currently IntelliJ test configuration does not respect jvm options set up for
test.junit
configured in pants.iniSo when we create the run configurations, we should automatically add it, around https://github.com/pantsbuild/intellij-pants-plugin/blob/master/src/com/twitter/intellij/pants/components/impl/PantsProjectComponentImpl.java#L188
Interface to access pants options:
https://github.com/pantsbuild/intellij-pants-plugin/blob/master/common/com/twitter/intellij/pants/model/PantsOptions.java#L46
The text was updated successfully, but these errors were encountered: