diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-08 12:53:08 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-08 12:53:08 -0600 |
| commit | 74d953ca1fcb8ce2c6d6b8ee54314bd95833076c (patch) | |
| tree | 259a8a39b137cff906d04bc77558ad8ea1b71c31 /test/integration/container_test.go | |
| parent | 77832d8784f7917f9813fc18c4dd81008d33efd0 (diff) | |
chore: export default ports for envoy
Diffstat (limited to 'test/integration/container_test.go')
| -rw-r--r-- | test/integration/container_test.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/integration/container_test.go b/test/integration/container_test.go index 6459fed..8b3a823 100644 --- a/test/integration/container_test.go +++ b/test/integration/container_test.go @@ -18,6 +18,7 @@ import ( func TestContainer(t *testing.T) { image := env.Fetch("IMAGE_TAG", "sparkled:main") + t.Logf("image: %v\n", image) require.NotEmpty(t, image) ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second) @@ -26,7 +27,7 @@ func TestContainer(t *testing.T) { container, err := testcontainers.GenericContainer(ctx, testcontainers.GenericContainerRequest{ ContainerRequest: testcontainers.ContainerRequest{ Image: image, - ExposedPorts: []string{"80/tcp"}, + ExposedPorts: []string{"8080/tcp", "9901/tcp", "10000/tcp"}, WaitingFor: wait.ForLog("Listening on"), }, Started: true, @@ -39,8 +40,11 @@ func TestContainer(t *testing.T) { testcontainers.CleanupContainer(t, container) }() + t.Logf("container: %v\n", container) endpoint, err := container.Endpoint(ctx, "") require.NoError(t, err) + t.Logf("endpoint: %v\n", endpoint) + paths := []string{ "/health", "/favicon.ico", |
