mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 06:13:43 +00:00
test(perf): remove long exec-delay sleep in secret resolver tests
This commit is contained in:
@@ -190,7 +190,7 @@ describe("secret ref resolver", () => {
|
|||||||
"#!/usr/bin/env node",
|
"#!/usr/bin/env node",
|
||||||
"setTimeout(() => {",
|
"setTimeout(() => {",
|
||||||
" process.stdout.write(JSON.stringify({ protocolVersion: 1, values: { delayed: 'ok' } }));",
|
" process.stdout.write(JSON.stringify({ protocolVersion: 1, values: { delayed: 'ok' } }));",
|
||||||
"}, 2200);",
|
"}, 120);",
|
||||||
].join("\n"),
|
].join("\n"),
|
||||||
0o700,
|
0o700,
|
||||||
);
|
);
|
||||||
@@ -205,7 +205,7 @@ describe("secret ref resolver", () => {
|
|||||||
source: "exec",
|
source: "exec",
|
||||||
command: scriptPath,
|
command: scriptPath,
|
||||||
passEnv: ["PATH"],
|
passEnv: ["PATH"],
|
||||||
timeoutMs: 5000,
|
timeoutMs: 500,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user