testng-eclipse icon indicating copy to clipboard operation
testng-eclipse copied to clipboard

JVM params get truncated

Open foosbar opened this issue 13 years ago • 1 comments

Eclipse Plugin: 6.3.2.201112031323

I've set default JVM parameters including Xmx, Xms, XX:MaxPermSize under "Preferences > TestNG > Run/Debug"

Then, under my run configurations (Run > Run Configurations) I've added different JVM parameters. These JVM parameters get added to the test execution and the original ones are left out. If I remove these local JVM parameters, then the global JVM parameters get included.

I would expect the JVM parameters to get concatenated and even cause the local ones to overwrite the global ones if both locations specifiy the same option.

I've tried to be descriptive, but let me know if you need further information.

foosbar avatar Jan 04 '12 17:01 foosbar

if you use maven, you can define the default JVM args as "argLine" in the maven-surefire-plugin or maven-failsafe-plugin in pom.xml the latest plugin (6.9.7.x) will load it and append the user defined JVM args

missedone avatar Oct 12 '15 09:10 missedone