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
1 changed files with 1 additions and 1 deletions

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