fix(compose): container initialisation by stevenh · Pull Request #2844 · testcontainers/testcontainers-go

@stevenh

Fix compose to fully initialise the containers it returns. This ensures
that running things like checks for running behave as expected.

Extracts the functionality to connect to reaper into a helper method so
its consistent across uses.

Fix data race in daemonHost function converting it to a method to make
use of encapsulation.

Fix container and network requests so they use sessionID from labels if
available so that user specified values are respected.

Export the functionality to create a container from a ContainerList
response via provider.ContainerFromType.

Enforce no bare returns instead of no named returns as that was the
original intention.

Fixes #2667

@stevenh stevenh marked this pull request as ready for review

October 22, 2024 07:54

mdelapenya

@mdelapenya

* main:
  fix!: data races (#2843)
  fix: mongodb replicaset should work with auth (#2847)
  chore: use require.(No)Error(t,err) instead of t.Fatal(err) (#2851)
  fix: simplify fully-qualified image names (#2846)

mdelapenya

mdelapenya added a commit to mdelapenya/testcontainers-go that referenced this pull request

Oct 29, 2024

@mdelapenya