1
0
Fork 0
mirror of synced 2024-07-13 10:15:49 +12:00
This commit is contained in:
Sam Rose 2024-06-11 16:00:04 +01:00
parent af60ff4da7
commit 6a54b58303
No known key found for this signature in database
3 changed files with 20 additions and 11 deletions

View file

@ -860,8 +860,10 @@
"json",
"internal",
"barcodeqr",
"signature_single",
"bigint",
"bb_reference"
"bb_reference",
"bb_reference_single"
],
"description": "Defines the type of the column, most explain themselves, a link column is a relationship."
},
@ -1067,8 +1069,10 @@
"json",
"internal",
"barcodeqr",
"signature_single",
"bigint",
"bb_reference"
"bb_reference",
"bb_reference_single"
],
"description": "Defines the type of the column, most explain themselves, a link column is a relationship."
},
@ -1285,8 +1289,10 @@
"json",
"internal",
"barcodeqr",
"signature_single",
"bigint",
"bb_reference"
"bb_reference",
"bb_reference_single"
],
"description": "Defines the type of the column, most explain themselves, a link column is a relationship."
},

View file

@ -782,8 +782,10 @@ components:
- json
- internal
- barcodeqr
- signature_single
- bigint
- bb_reference
- bb_reference_single
description: Defines the type of the column, most explain themselves, a link
column is a relationship.
constraints:
@ -948,8 +950,10 @@ components:
- json
- internal
- barcodeqr
- signature_single
- bigint
- bb_reference
- bb_reference_single
description: Defines the type of the column, most explain themselves, a link
column is a relationship.
constraints:
@ -1121,8 +1125,10 @@ components:
- json
- internal
- barcodeqr
- signature_single
- bigint
- bb_reference
- bb_reference_single
description: Defines the type of the column, most explain themselves, a link
column is a relationship.
constraints:

View file

@ -80,19 +80,16 @@ export async function startContainer(container: GenericContainer) {
`${imageName.replaceAll("/", "-")}.lock`
)
// The `proper-lockfile` library needs the file we're locking on to exist
// before it can lock it.
if (!fs.existsSync(lockPath)) {
fs.writeFileSync(lockPath, "")
}
const unlock = lockfile.lockSync(lockPath)
const unlock = await lockfile.lock(lockPath, {
retries: 10,
realpath: false,
})
let startedContainer: StartedTestContainer
try {
startedContainer = await container.start()
} finally {
unlock()
await unlock()
}
const info = testContainerUtils.getContainerById(startedContainer.getId())