This commit is contained in:
parent
af60ff4da7
commit
6a54b58303
|
@ -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."
|
||||
},
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue