test(release): match versioned Windows upgrade tarballs · openclaw/openclaw@94f8f19
steipete
·
2026-05-05
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -747,10 +747,18 @@ describe("scripts/openclaw-cross-os-release-checks", () => {
|
747 | 747 | |
748 | 748 | it("recognizes the shipped Windows updater packaged-upgrade timeout", () => { |
749 | 749 | const error = new Error( |
750 | | -"Command timed out: C:\\hostedtoolcache\\windows\\node\\24.15.0\\x64\\node.exe C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\openclaw-upgrade-q9DsA7\\prefix\\node_modules\\openclaw\\openclaw.mjs update --tag http://127.0.0.1:49951/openclaw-current.tgz --yes --json --timeout 1500", |
| 750 | +"Command timed out: C:\\hostedtoolcache\\windows\\node\\24.15.0\\x64\\node.exe C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\openclaw-upgrade-q9DsA7\\prefix\\node_modules\\openclaw\\openclaw.mjs update --tag http://127.0.0.1:49951/openclaw-2026.5.4-beta.1.tgz --yes --json --timeout 1500", |
751 | 751 | ); |
752 | 752 | |
753 | 753 | expect(isRecoverableWindowsPackagedUpgradeTimeoutError(error, "win32")).toBe(true); |
| 754 | +expect( |
| 755 | +isRecoverableWindowsPackagedUpgradeTimeoutError( |
| 756 | +new Error( |
| 757 | +"Command timed out: C:\\prefix\\node_modules\\openclaw\\openclaw.mjs update --tag http://127.0.0.1:49951/openclaw-current.tgz --yes --json --timeout 1500", |
| 758 | +), |
| 759 | +"win32", |
| 760 | +), |
| 761 | +).toBe(true); |
754 | 762 | expect(isRecoverableWindowsPackagedUpgradeTimeoutError(error, "linux")).toBe(false); |
755 | 763 | expect( |
756 | 764 | isRecoverableWindowsPackagedUpgradeTimeoutError( |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。