Skip to content

Commit

Permalink
fix: 테스트시 flyway 안돌도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
This2sho committed Jun 9, 2024
1 parent 90d5d67 commit 78ababc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

import com.parkingcomestrue.external.api.CircuitBreaker;
import java.util.concurrent.TimeUnit;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service
@Component
public class CircuitBreakerTestService {

@CircuitBreaker(resetTime = 2, timeUnit = TimeUnit.SECONDS)
Expand Down
13 changes: 13 additions & 0 deletions app-scheduler/src/test/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
spring:
profiles:
active: ${PROFILE:dev}

flyway:
enabled: false

# API KEY
kakao:
key: ${KAKAO_API_KEY:kakao}
seoul-public-parking-key: ${SEOUL_API_KEY:seoul}
pusan-public-parking-key: ${PUSAN_API_KEY:pusan}
korea-parking-key: ${KOREA_API_KEY:korea}

0 comments on commit 78ababc

Please sign in to comment.