Browse files

HHH-7749 - Allow setting system properties for tests on gradle comman…

…d line
  • Loading branch information...
1 parent 06b0faa commit d11165d4d20df40876959bb002adf99ec7b028cd @sebersole sebersole committed Nov 2, 2012
Showing with 1 addition and 6 deletions.
  1. +1 −6 build.gradle
View
7 build.gradle
@@ -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"
}

0 comments on commit d11165d

Please sign in to comment.