CI/CD Pipeline / UI Contracts (source-structure gates) (push) Canceled after 0s
CI/CD Pipeline / E2E (live stack) (push) Canceled after 0s
CI/CD Pipeline / Backend Build & Test (push) Canceled after 0s
CI/CD Pipeline / Admin Web Build (push) Canceled after 0s
CI/CD Pipeline / Mini Program Compile Check (push) Canceled after 0s
CI/CD Pipeline / Migration Validation (push) Canceled after 0s
CI/CD Pipeline / Test Shell Guard (Phase 23 Gate) (push) Canceled after 0s
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
spring:
|
|
datasource:
|
|
url: jdbc:h2:mem:danyang_match_test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
|
|
driver-class-name: org.h2.Driver
|
|
username: sa
|
|
password:
|
|
flyway:
|
|
enabled: false
|
|
sql:
|
|
init:
|
|
schema-locations: classpath:schema-h2.sql
|
|
jackson:
|
|
serialization:
|
|
write-dates-as-timestamps: false
|
|
|
|
# REQUIRES_NEW 拒绝审计(AuditDenyWriter.insertIndependent)经独立 SqlSession 提交后,
|
|
# 不会清空外层测试事务 SqlSession 的一级缓存;测试里 before/after 两次同参数 count
|
|
# 第二次会命中缓存返回 before 值(旧行为假绿的机制来源)。statement 作用域让每次查询
|
|
# 真执行,与生产 PG READ_COMMITTED 的可见性语义一致。
|
|
mybatis-plus:
|
|
configuration:
|
|
local-cache-scope: statement
|
|
|
|
jwt:
|
|
access-token-secret: test-access-secret-for-unit-tests-only
|
|
refresh-token-secret: test-refresh-secret-for-unit-tests-only
|
|
|
|
encryption:
|
|
key: 0123456789abcdef0123456789abcdef
|
|
|
|
features:
|
|
activity-enabled: true
|
|
matchmaker-enabled: true
|
|
chat-image-enabled: false
|
|
appeal-enabled: false
|
|
|
|
object-storage:
|
|
endpoint: http://localhost:9000
|
|
access-key: unit-test-access-key
|
|
secret-key: unit-test-secret-key
|
|
bucket-public: unit-test-public
|
|
bucket-private: unit-test-private
|
|
region: us-east-1
|
|
|
|
logging:
|
|
level:
|
|
com.danyang.match.platform: INFO
|
|
org.mybatis: WARN
|