test: stabilize preload push replay assertions

This commit is contained in:
2026-08-15 17:32:16 +08:00
parent 8350bcdf00
commit 05921eca13
5 changed files with 202 additions and 24 deletions
@@ -69,7 +69,7 @@ test('test-environment loading chains push without a number and open PDA only af
const bridgeLoading = readFileSync(
resolve(scriptsDir, 'admin-test-env-modules', 'phase3-loading.mjs'), 'utf8')
assert.match(containerLoading, /expectedVersion: Number\(pushed\.version\), operationReason: context\.marker/)
assert.match(containerLoading, /expectedVersion: Number\(postPushPlan\.version\), operationReason: context\.marker/)
const pushIndex = bridgeLoading.indexOf('无真实柜号推送预装成功并冻结柜次明细')
const absentIndex = bridgeLoading.indexOf('无号 push 成功后 PDA 查询明确 A0404')