From fbedae0116f88067ba87e415678965c2d162c2a4 Mon Sep 17 00:00:00 2001 From: whyour Date: Tue, 25 Aug 2026 02:18:58 +0800 Subject: [PATCH] test(ql3): harden resource rollback CI watchdog --- test/back/ql3LegacyShadowResourceRollback.test.cjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/back/ql3LegacyShadowResourceRollback.test.cjs b/test/back/ql3LegacyShadowResourceRollback.test.cjs index b0682830..193b9b90 100644 --- a/test/back/ql3LegacyShadowResourceRollback.test.cjs +++ b/test/back/ql3LegacyShadowResourceRollback.test.cjs @@ -17,6 +17,7 @@ const SCRIPT = path.join( 'scripts/ql3-legacy-shadow-resource-rollback.cjs', ); const NODE_MAJOR = Number(process.versions.node.split('.')[0]); +const RESOURCE_EVIDENCE_WATCHDOG_MS = 120_000; function execute(profile, mode, samples) { const result = spawnSync( @@ -33,7 +34,7 @@ function execute(profile, mode, samples) { { cwd: REPOSITORY_ROOT, encoding: 'utf8', - timeout: 30_000, + timeout: RESOURCE_EVIDENCE_WATCHDOG_MS, maxBuffer: 128 * 1024, }, );