修复财务事件桥投递地址

This commit is contained in:
2026-09-02 18:24:39 +08:00
parent 596a5c925c
commit 30090e741f
2 changed files with 3 additions and 0 deletions
@@ -34,6 +34,8 @@ test('Compose wires both producers to the stable service aliases used by test en
assert.match(overseasCompose,
/FIRSTLEG_EVENT_BRIDGE_URL:\s*\$\{CN_EVENT_BRIDGE_TARGET_URL:-http:\/\/event-bridge-cn:9312\}/)
assert.match(cnCompose, /aliases:\s*\[event-bridge-cn\]/)
assert.match(cnCompose,
/FINANCE_FEE_EVENT_CONSUMER_URL:\s*\$\{FINANCE_FEE_EVENT_CONSUMER_URL:-http:\/\/finance:9208\/internal\/finance\/v1\/business-fee-source-events\}/)
assert.match(overseasCompose, /aliases:\s*\[event-bridge-overseas\]/)
for (const source of [cnCompose, overseasCompose]) {
assert.doesNotMatch(source, /(?:LASTLEG|FIRSTLEG|CN)_EVENT_BRIDGE_URL:[^\n]*(?:\d{1,3}\.){3}\d{1,3}/)