Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

test: separate stdin fixture startup budget from drain deadline

haelyra03f9a59bc7f6
diff --git a/tests/lib/utils.test.js b/tests/lib/utils.test.js
index a04c97c85..95cfaf391 100644
--- a/tests/lib/utils.test.js
+++ b/tests/lib/utils.test.js
@@ -1271,7 +1271,9 @@ function runTests() {
`;
const result = execFileSync('node', ['-e', harness], {
...stdinOpts,
- timeout: 2000
+ // Budget for starting the outer Node process on a loaded Windows host.
+ // The writer/child deadline above still bounds the actual drain to 1.5s.
+ timeout: 15000
});
assert.deepStrictEqual(JSON.parse(result), {});
})) passed++; else failed++;