lifesub/member/build/resources/test/application-e2e-test.yml
2025-02-18 02:28:19 +09:00

46 lines
1.1 KiB
YAML

# src/test/resources/application-e2e-test.yml
spring:
application:
name: member-service-test
jpa:
hibernate:
ddl-auto: create-drop
show-sql: true
properties:
hibernate:
format_sql: true
dialect: org.hibernate.dialect.PostgreSQLDialect
datasource:
hikari:
maximum-pool-size: 5
minimum-idle: 2
connection-timeout: 10000 # 10초
max-lifetime: 580000 # 약 9.6분 (DB wait_timeout보다 짧게)
idle-timeout: 300000 # 5분
validation-timeout: 3000 # 3초
leak-detection-threshold: 30000
connection-test-query: SELECT 1
# JWT 설정
jwt:
secret-key: testSecretKeyForE2ETestingPurposesOnlyDoNotUseInProduction
access-token-validity: 3600000 # 1시간
refresh-token-validity: 86400000 # 24시간
allowed-origins: http://localhost:3000
# 로깅 설정
logging:
level:
com.unicorn: DEBUG
org.hibernate.SQL: DEBUG
org.hibernate.type.descriptor.sql.BasicBinder: TRACE
# 테스트용 사용자 설정
test:
user:
id: testuser
password: Test1234!
name: Test User