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

Merge pull request #14282 from Budibase/chore/testcontainer-local-conflicts

Prevent test container name conflicts
This commit is contained in:
Adria Navarro 2024-07-30 18:34:31 +02:00 committed by GitHub
commit d3d6b75da5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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