chore(build): 테스트 JVM 설정을 조정한다
This commit is contained in:
@@ -99,15 +99,15 @@ tasks.withType<KotlinCompile> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<Test>().configureEach {
|
tasks.withType<Test> {
|
||||||
maxParallelForks = 1
|
useJUnitPlatform()
|
||||||
forkEvery = 100
|
|
||||||
|
|
||||||
maxHeapSize = "1024m"
|
val springContextCacheMaxSize = (project.findProperty("test.springContextCacheMaxSize") as String?) ?: "1"
|
||||||
|
maxHeapSize = (project.findProperty("testMaxHeap") as String?) ?: "1536m"
|
||||||
|
|
||||||
jvmArgs(
|
jvmArgs(
|
||||||
"-XX:MaxMetaspaceSize=512m",
|
"-Dfile.encoding=UTF-8",
|
||||||
"-Dfile.encoding=UTF-8"
|
"-Dspring.test.context.cache.maxSize=$springContextCacheMaxSize"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user