testcontainers-go icon indicating copy to clipboard operation
testcontainers-go copied to clipboard

Testcontainers for Go is a Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to p...

Results 308 testcontainers-go issues
Sort by recently updated
recently updated
newest added

### Problem No ### Solution Implement a NATS cluster. I think conceptually it would be close to the Kafka implementation. Equivalent to following the steps here - https://docs.nats.io/running-a-nats-service/nats_docker#creating-a-nats-cluster ### Benefit...

feature

### Testcontainers version 0.27.0 ### Using the latest Testcontainers version? Yes ### Host OS MacOS ### Host arch arm ### Go version 1.21 ### Docker version ```shell Client: Version: 25.0.2...

bug

### Testcontainers version fe0d3a835bfc3183c569457a0a166f496ccbb900 ### Using the latest Testcontainers version? Yes ### Host OS Linux ### Host arch amd64 ### Go version 1.22 ### Docker version ```shell Client: Cloud integration:...

bug

### Testcontainers version 0.27.0 ### Using the latest Testcontainers version? Yes ### Host OS Mac ### Host arch ARM M1 ### Go version 1.22.0 ### Docker version ```shell Client: Cloud...

bug

### Proposal E.g. ```go k6.WithTestScript("https://raw.githubusercontent.com/weesvc/workbench/main/scripts/api-compliance.js"), ```

good first issue
enhancement

## What does this PR do? Change `ContainerCustomizer.Customize` method to return an error so that options can handle errors gracefully instead of relying on panic or just a log entry,...

## What does this PR do? Fix a data race on container run by updating otelhttp: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/4895 ## Why is it important? Usage randomly fails due to a data race...

### Proposal The current version of `ContainerCustomizer` provides the ability to customise a container in setup but as doesn't return an error so methods which do need to handle errors...

enhancement

### Problem One of my docker compose containers is failing to come up, and so I get an unhelpful error message: ``` dependency failed to start: container 62e034fc-fae9-4e80-af07-8c1d8902b1da-minio_init-1 is unhealthy...

feature
compose

Replicate what the CockroachDB module is doing with `MustConnectionString`, adding them to any database module. Thanks! Also, asking because I don't see this for other database modules _Originally posted by...

good first issue
enhancement