Can't use retries with the sync API.

This commit is contained in:
Sam Rose 2024-06-11 15:43:12 +01:00
parent eac6106b06
commit af60ff4da7
No known key found for this signature in database
1 changed files with 1 additions and 3 deletions

View File

@ -86,9 +86,7 @@ export async function startContainer(container: GenericContainer) {
fs.writeFileSync(lockPath, "")
}
const unlock = lockfile.lockSync(lockPath, {
retries: 10,
})
const unlock = lockfile.lockSync(lockPath)
let startedContainer: StartedTestContainer
try {