mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-18 00:55:16 +00:00
HHH-14371 Correctly set JVM args in the JVM running tests
Turns out getJvmArgs() returns a copy, so modifying that copy won't change the JVM args. Signed-off-by: Yoann Rodière <yoann@hibernate.org>
This commit is contained in:
parent
ab44830251
commit
6845edd74e
@ -229,7 +229,7 @@ if ( gradle.ext.javaToolchainEnabled ) {
|
||||
}
|
||||
|
||||
// Configure JVM Options
|
||||
jvmArgs.addAll( getProperty( 'toolchain.launcher.jvmargs' ).toString().split( ' ' ) )
|
||||
jvmArgs( getProperty( 'toolchain.launcher.jvmargs' ).toString().split( ' ' ) )
|
||||
|
||||
// Display version of Java tools
|
||||
doFirst {
|
||||
|
@ -282,7 +282,7 @@ task testJavassist(type: Test) {
|
||||
}
|
||||
|
||||
// Configure JVM Options
|
||||
jvmArgs.addAll( getProperty( 'toolchain.launcher.jvmargs' ).toString().split( ' ' ) )
|
||||
jvmArgs( getProperty( 'toolchain.launcher.jvmargs' ).toString().split( ' ' ) )
|
||||
|
||||
// Display version of Java tools
|
||||
doFirst {
|
||||
|
Loading…
x
Reference in New Issue
Block a user