Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ tasks.withType(Test).configureEach {
// 동시에 살아 있는 컨텍스트 수를 제한한다. 기본값(32)이면 한 번 뜬 컨텍스트가 끝까지 캐시에 남아
// 테스트 클래스를 추가할 때마다 메모리가 계단식으로 늘어난다. 넘치면 오래된 컨텍스트를 닫는다.
systemProperty 'spring.test.context.cache.maxSize', '6'

// API 스펙 파일 갱신 스위치. Gradle 속성으로 받아 테스트 JVM 까지 넘긴다
// (-D 로 주면 Gradle JVM 에만 붙고 테스트 워커에는 전달되지 않는다).
systemProperty 'openapi.lock.update', project.findProperty('openapi.lock.update') ?: 'false'
}

tasks.named('test') {
Expand Down
Loading
Loading