mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
test: allow qa parity release heap
This commit is contained in:
@@ -1115,8 +1115,13 @@ describe("package artifact reuse", () => {
|
||||
for (const [jobName, job] of Object.entries(jobs)) {
|
||||
for (const step of job.steps ?? []) {
|
||||
if (step.run === "pnpm build") {
|
||||
const expectedHeap =
|
||||
workflowPath === RELEASE_CHECKS_WORKFLOW &&
|
||||
jobName === "qa_lab_runtime_parity_release_checks"
|
||||
? "12288"
|
||||
: "8192";
|
||||
expect(step.env, `${workflowPath}:${jobName}:${step.name}`).toEqual({
|
||||
NODE_OPTIONS: "--max-old-space-size=8192",
|
||||
NODE_OPTIONS: `--max-old-space-size=${expectedHeap}`,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user