chore(build): 테스트 JVM 설정을 조정한다

This commit is contained in:
2026-07-08 01:26:17 +09:00
parent 128fb232d0
commit 936e472d51

View File

@@ -99,15 +99,15 @@ tasks.withType<KotlinCompile> {
}
}
tasks.withType<Test>().configureEach {
maxParallelForks = 1
forkEvery = 100
tasks.withType<Test> {
useJUnitPlatform()
maxHeapSize = "1024m"
val springContextCacheMaxSize = (project.findProperty("test.springContextCacheMaxSize") as String?) ?: "1"
maxHeapSize = (project.findProperty("testMaxHeap") as String?) ?: "1536m"
jvmArgs(
"-XX:MaxMetaspaceSize=512m",
"-Dfile.encoding=UTF-8"
"-Dfile.encoding=UTF-8",
"-Dspring.test.context.cache.maxSize=$springContextCacheMaxSize"
)
}