Compare commits
2 Commits
4442fa6d91
...
bd1ec54d36
| Author | SHA1 | Date | |
|---|---|---|---|
| bd1ec54d36 | |||
| 85f3c6f646 |
@@ -102,13 +102,12 @@ tasks.withType<KotlinCompile> {
|
||||
tasks.withType<Test> {
|
||||
useJUnitPlatform()
|
||||
|
||||
val springContextCacheMaxSize = "1"
|
||||
maxHeapSize = "1024m"
|
||||
val springContextCacheMaxSize = (project.findProperty("test.springContextCacheMaxSize") as String?) ?: "1"
|
||||
maxHeapSize = (project.findProperty("testMaxHeap") as String?) ?: "1536m"
|
||||
maxParallelForks = 1
|
||||
|
||||
jvmArgs(
|
||||
"-Dfile.encoding=UTF-8",
|
||||
"-XX:+HeapDumpOnOutOfMemoryError",
|
||||
"-Dspring.test.context.cache.maxSize=$springContextCacheMaxSize"
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user