Skip to content

Commit d8e3cf8

Browse files
committed
CLAP-156 Feat: test 컨테이너에 flyway 비활성화 설정
1 parent 07a2e20 commit d8e3cf8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/clap/server/TaskflowApplicationTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import org.springframework.boot.test.context.SpringBootTest;
88
import org.springframework.test.context.DynamicPropertyRegistry;
99
import org.springframework.test.context.DynamicPropertySource;
10+
import org.springframework.test.context.TestPropertySource;
1011
import org.testcontainers.elasticsearch.ElasticsearchContainer;
1112
import org.testcontainers.junit.jupiter.Container;
1213
import org.testcontainers.junit.jupiter.Testcontainers;
@@ -16,6 +17,7 @@
1617

1718
@Testcontainers
1819
@SpringBootTest
20+
@TestPropertySource(properties = "spring.flyway.enabled=false")
1921
class TaskflowApplicationTests {
2022

2123
@Autowired

0 commit comments

Comments
 (0)