mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-19 16:25:50 +00:00
test(plugin-sdk): stabilize file lock retry budget
This commit is contained in:
parent
321a0d5530
commit
cd22d3d1ab
1 changed files with 0 additions and 3 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue