Skip to content

Commit 36feb67

Browse files
authored
Merge pull request #5344 from modelcontextprotocol/v2/fix/5314-filesystem-hfs-test-timeout
test(filesystem): give the real HFS+ volume test an explicit timeout
2 parents d03dce4 + 5ec9e7d commit 36feb67

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/filesystem/__tests__/pinned-directory.test.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,10 @@ describe("createDirectoryInPlace", () => {
908908
execFileSync("hdiutil", ["detach", mount, "-quiet"]);
909909
}
910910
},
911+
// hdiutil create, attach and detach together take about 1.5 s on an idle
912+
// machine and can pass vitest's 5 s default under load (#5314). A
913+
// timeout sized for them, never a retry, which would hide a real failure.
914+
30_000,
911915
);
912916

913917
it("reports a failure to enter a directory other than a missing one as is", () => {

0 commit comments

Comments
 (0)