testcontainers / testcontainers-java

Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
https://testcontainers.org
MIT License
7.9k stars 1.62k forks source link

[localstack] Fix reuse mode #8844

Closed eddumelendez closed 2 weeks ago

eddumelendez commented 2 weeks ago

2195610 allows to copy all org.testcontainers.* labels to LAMBDA_DOCKER_FLAGS and it generates a session-id breaking reuse mode. This commit waits until the container is starting with the right labels and then read the labels to set LAMBDA_DOCKER_FLAGS.

Fixes #8814