1
0
Fork 0
mirror of synced 2024-09-20 19:33:10 +12:00

Prevent test container name conflicts

This commit is contained in:
Adria Navarro 2024-07-30 11:53:00 +02:00
parent 9cf50d1f72
commit 0a35ae012f

View file

@ -77,7 +77,7 @@ export async function startContainer(container: GenericContainer) {
container = container container = container
.withReuse() .withReuse()
.withLabels({ "com.budibase": "true" }) .withLabels({ "com.budibase": "true" })
.withName(key) .withName(`${key}_testcontainer`)
let startedContainer: StartedTestContainer | undefined = undefined let startedContainer: StartedTestContainer | undefined = undefined
let lastError = undefined let lastError = undefined