test(plugin-sdk): stabilize file lock retry budget

This commit is contained in:
Val Alexander
2026-05-04 04:05:32 -05:00
parent 321a0d5530
commit cd22d3d1ab

View File

@@ -42,9 +42,6 @@ describe("acquireFileLock", () => {
JSON.stringify({ pid: process.pid, createdAt: new Date().toISOString() }, null, 2),
"utf8",
);
setTimeout(() => {
void fs.rm(lockPath, { force: true });
}, 50);
await expect(acquireFileLock(filePath, options)).rejects.toSatisfy((error) => {
expect(error).toMatchObject({