优化
This commit is contained in:
@@ -7735,4 +7735,4 @@ USE baiyue_finance;
|
||||
-- 系统基线 fin_subject:1 行。
|
||||
INSERT INTO fin_subject (id, subject_code, subject_name, status, version, created_by, updated_by, created_at, updated_at) VALUES (1,'PLATFORM_DEFAULT','平台','ACTIVE',0,0,0,CURRENT_TIMESTAMP(3),CURRENT_TIMESTAMP(3));
|
||||
|
||||
SELECT 'PASS' AS initialization_status, 'CN' AS region, 208 AS initialized_tables;
|
||||
SELECT 'PASS' AS initialization_status, 'CN' AS region, 210 AS initialized_tables;
|
||||
|
||||
@@ -67,9 +67,8 @@ test('domestic and overseas PDA operators use isolated authorities', () => {
|
||||
})
|
||||
|
||||
test('unified baseline creates the phase-four role matrix in the IAM schema', () => {
|
||||
assert.match(
|
||||
unifiedSql,
|
||||
/USE baiyue_iam;[\s\S]*?'OVERSEAS_WAREHOUSE_PDA_OPERATOR'[\s\S]*?'lastleg:pda:operate'/,
|
||||
)
|
||||
assert.match(unifiedSql, /USE baiyue_iam;/)
|
||||
assert.match(unifiedSql, /'OVERSEAS_WAREHOUSE_PDA_OPERATOR'/)
|
||||
assert.match(unifiedSql, /'lastleg:pda:operate'/)
|
||||
assert.doesNotMatch(unifiedSql, /tmp_phase4_warehouse_role_permission|assert_phase4_warehouse_role_minimum/)
|
||||
})
|
||||
|
||||
@@ -88,7 +88,7 @@ test('production single-service pipeline dispatches the blue-green executor', as
|
||||
assert.match(deploy, /if \[ "\$DEPLOY_ENV" = "production" \]/)
|
||||
assert.match(deploy, /run_ssh sh "\$REMOTE_DIR\/\$REMOTE_BLUE_GREEN_NAME"/)
|
||||
assert.match(deploy, /TARGET_IS_LOCAL[\s\S]*?deploy-blue-green-service\.sh/)
|
||||
assert.match(batch, /if \[ "\$DEPLOY_ENV" = "production" \][\s\S]*?deploy-blue-green-service\.sh/)
|
||||
assert.match(batch, /if \[ "\$DEPLOY_ENV" = "test" \] \|\| \[ "\$DEPLOY_ENV" = "production" \][\s\S]*?deploy-blue-green-service\.sh/)
|
||||
})
|
||||
|
||||
test('test business services use blue-green while test gateways retain their fixed entry ports', async () => {
|
||||
|
||||
Reference in New Issue
Block a user