fix(test): H2 수명과 컨텍스트 격리를 정리해 테스트 자원 누적을 줄인다
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ import org.springframework.test.context.ContextConfiguration
|
||||
"deployment.artifact-version=1.2.3-20260914",
|
||||
"deployment.config-commit=1a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d",
|
||||
"spring.datasource.url=jdbc:h2:mem:deployment-endpoint-injected-integration;" +
|
||||
"MODE=MySQL;DATABASE_TO_UPPER=false;NON_KEYWORDS=VALUE;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE"
|
||||
"MODE=MySQL;DATABASE_TO_UPPER=false;NON_KEYWORDS=VALUE;DB_CLOSE_DELAY=0;DB_CLOSE_ON_EXIT=FALSE"
|
||||
]
|
||||
)
|
||||
@ContextConfiguration(initializers = [EmbeddedRedisInitializer::class])
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ import org.springframework.test.context.ContextConfiguration
|
||||
properties = [
|
||||
"management.server.port=0",
|
||||
"spring.datasource.url=jdbc:h2:mem:deployment-endpoint-integration;" +
|
||||
"MODE=MySQL;DATABASE_TO_UPPER=false;NON_KEYWORDS=VALUE;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE"
|
||||
"MODE=MySQL;DATABASE_TO_UPPER=false;NON_KEYWORDS=VALUE;DB_CLOSE_DELAY=0;DB_CLOSE_ON_EXIT=FALSE"
|
||||
]
|
||||
)
|
||||
@ContextConfiguration(initializers = [EmbeddedRedisInitializer::class])
|
||||
|
||||
Reference in New Issue
Block a user