We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b1b38f commit e938026Copy full SHA for e938026
workspaces/libnpmexec/test/with-lock.js
@@ -52,7 +52,7 @@ t.test('concurrent locking', async (t) => {
52
await setTimeout(100)
53
events.push('lock1 released')
54
})
55
- await setTimeout(0) // ensure lock1 is acquired before lock2
+ await setTimeout(50) // ensure lock1 is acquired before lock2
56
const lockPromise2 = withLock(lockPath, async () => {
57
events.push('lock2 acquired')
58
0 commit comments