HHH-7749 - Allow setting system properties for tests on gradle command line
This commit is contained in:
parent
06b0faaf57
commit
d11165d4d2
|
@ -178,13 +178,8 @@ subprojects { subProject ->
|
|||
)
|
||||
|
||||
test {
|
||||
// pass along command line defined system props (-D) to the test
|
||||
// pretty sure I used to have this limited to just certain prefixes, but that is no longer here
|
||||
// and I no longer remember that groovy-magic needed to accomplish that
|
||||
// TODO: Temporarily removing -- was causing issues with
|
||||
// entitymanager tests.
|
||||
//systemProperties = System.properties
|
||||
systemProperties['hibernate.test.validatefailureexpected'] = true
|
||||
systemProperties += System.properties.findAll { it.key.startsWith( "hibernate.") }
|
||||
maxHeapSize = "1024m"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue