chore(build): 테스트 JVM 메모리 설정을 고정한다

This commit is contained in:
2026-07-10 16:03:54 +09:00
parent 61d5178eba
commit 924d4abbe2

View File

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