mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
test: isolate git-hooks integration and stabilize exec timeout
This commit is contained in:
@@ -31,6 +31,8 @@ const unitIsolatedFilesRaw = [
|
||||
"src/browser/server-context.ensure-tab-available.prefers-last-target.test.ts",
|
||||
// Keep this high-variance heavy file off the unit-fast critical path.
|
||||
"src/auto-reply/reply.block-streaming.test.ts",
|
||||
// Integration test is process-heavy and can bottleneck unit-fast.
|
||||
"test/git-hooks-pre-commit.integration.test.ts",
|
||||
// Uses process-level unhandledRejection listeners; keep it off vmForks to avoid cross-file leakage.
|
||||
"src/imessage/monitor.shutdown.unhandled-rejection.test.ts",
|
||||
];
|
||||
|
||||
@@ -59,7 +59,7 @@ describe("runCommandWithTimeout", () => {
|
||||
],
|
||||
{
|
||||
timeoutMs: 5_000,
|
||||
noOutputTimeoutMs: 80,
|
||||
noOutputTimeoutMs: 120,
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user