优化
This commit is contained in:
@@ -9,10 +9,10 @@ test('基础 Compose 显式配置审计服务地址,避免静默退化为日
|
||||
const compose = await read('deploy/docker-compose.yml')
|
||||
|
||||
assert.match(compose,
|
||||
/BAIYUE_AUDIT_ENDPOINT: \$\{BAIYUE_AUDIT_ENDPOINT:-http:\/\/audit-service:9700\/internal\/audit\/events\}/)
|
||||
/BAIYUE_AUDIT_ENDPOINT: http:\/\/audit-service:9700\/internal\/audit\/events/)
|
||||
assert.doesNotMatch(compose, /^\s+AUDIT_SERVICE_URL:/m)
|
||||
assert.match(compose, /^ audit-service:\s*$/m)
|
||||
assert.match(compose, /container_name: firstleg-\$\{DEPLOY_ENV:-test\}-audit/)
|
||||
assert.match(compose, /container_name: firstleg-test-audit/)
|
||||
assert.match(compose, /networks: \[firstleg-network, infra-network\]/)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user