summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-21 15:46:03 -0600
committermo khan <mo@mokhan.ca>2025-07-21 15:46:03 -0600
commit986e3e1ddd5183e10a35e345b6c6a7e887497122 (patch)
tree972340483bf6e20718460b2294b4fc3d844a59ac /test/integration
parentd0190ae7146a1a7f89b76ccb7f71430fca136d9d (diff)
chore: only bind to 10000
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/container.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/integration/container.go b/test/integration/container.go
index c8149b5..c5b3238 100644
--- a/test/integration/container.go
+++ b/test/integration/container.go
@@ -26,14 +26,11 @@ func NewContainer(t *testing.T, ctx context.Context, envVars map[string]string)
testcontainers.WithLogger(log.TestLogger(t)),
testcontainers.WithWaitStrategy(
wait.ForListeningPort(x.Must(nat.NewPort("tcp", "10000"))),
- wait.ForListeningPort(x.Must(nat.NewPort("tcp", "10003"))),
- wait.ForListeningPort(x.Must(nat.NewPort("tcp", "8080"))),
- wait.ForListeningPort(x.Must(nat.NewPort("tcp", "9901"))),
),
testcontainers.WithHostConfigModifier(func(cfg *xcontainer.HostConfig) {
cfg.NetworkMode = xcontainer.NetworkMode(network.NetworkHost)
}),
- // testcontainers.WithExposedPorts("8080/tcp", "9901/tcp", "10000/tcp", "10003/tcp"),
+ // testcontainers.WithExposedPorts("10000/tcp"),
// testcontainers.WithHostPortAccess(port),
)
require.NoError(t, err)