fix(ci): accept matrix node shard timeout · openclaw/openclaw@a289146
vincentkoc
·
2026-06-22
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -456,10 +456,12 @@ describe("ci workflow guards", () => {
|
456 | 456 | |
457 | 457 | it("fails and retries quiet Node test shard stalls quickly", () => { |
458 | 458 | const workflow = readCiWorkflow(); |
| 459 | +const preflightJob = workflow.jobs.preflight; |
459 | 460 | const nodeTestJob = workflow.jobs["checks-node-core-test-nondist-shard"]; |
460 | 461 | const runStep = nodeTestJob.steps.find((step) => step.name === "Run Node test shard"); |
461 | 462 | |
462 | | -expect(nodeTestJob["timeout-minutes"]).toBe(60); |
| 463 | +expect(JSON.stringify(preflightJob.steps)).toContain("timeout_minutes: shard.timeoutMinutes"); |
| 464 | +expect(nodeTestJob["timeout-minutes"]).toBe("${{ matrix.timeout_minutes || 60 }}"); |
463 | 465 | expect(runStep.env.OPENCLAW_VITEST_NO_OUTPUT_TIMEOUT_MS).toBe("300000"); |
464 | 466 | expect(runStep.env.OPENCLAW_VITEST_NO_OUTPUT_RETRY).toBe("1"); |
465 | 467 | expect(runStep.env.OPENCLAW_TEST_PROJECTS_PARALLEL).toBe("2"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。