Skip to content

Commit ebafb07

Browse files
committed
fix: resolve fs coverage test timeout due to start up pause race condition
1 parent 75ada23 commit ebafb07

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/agent/tests/argus-agent-coverage.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ describe("ArgusAgent (extended coverage)", () => {
206206
// ── FS 'fs' event → aggregator + agent emit ───────────────────────────────
207207
it("should forward fs instrumentation events to agent", { timeout: 10_000 }, async () => {
208208
agent = await ArgusAgent.create().withFsTracing().start();
209+
await sleep(50); // wait for fsTracker to resume after scan checks
209210

210211
const fsPromise = once(agent, "fs");
211212

0 commit comments

Comments
 (0)