Skip to content

Commit

Permalink
[fix] test-container를 삭제하고 embedded redis 의존성 추가
Browse files Browse the repository at this point in the history
- test-container는 처음 띄울 때 매우 무거워서 시간이 오래걸리고, 테스트별 컨테이너의 포트 충돌의 위험이 있다.
- 따라서 test-container에서 embedded redis를 이용한 테스트로 변경하기위해 의존성 변경
  • Loading branch information
Hyeon-Uk committed Aug 27, 2024
1 parent cea6a20 commit bfabc1f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

// redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
// https://mvnrepository.com/artifact/org.redisson/redisson-spring-boot-starter
implementation 'org.redisson:redisson-spring-boot-starter:3.35.0'

//test-container
testImplementation "org.junit.jupiter:junit-jupiter:5.8.1"
testImplementation "org.testcontainers:testcontainers:1.17.2"
testImplementation "org.testcontainers:junit-jupiter:1.17.2"
// https://mvnrepository.com/artifact/com.github.codemonstur/embedded-redis
implementation 'com.github.codemonstur:embedded-redis:1.4.3'

//QueryDsl
// QueryDsl
Expand Down

0 comments on commit bfabc1f

Please sign in to comment.