From 7118b40ad4173d40420b0a27374048574fd3b1aa Mon Sep 17 00:00:00 2001 From: przemyslaw Date: Mon, 7 Oct 2024 14:10:29 +0200 Subject: [PATCH] simple test --- ci/it/testcases/base.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/it/testcases/base.go b/ci/it/testcases/base.go index 9816e054f..556d35d1b 100644 --- a/ci/it/testcases/base.go +++ b/ci/it/testcases/base.go @@ -40,14 +40,14 @@ func (tc *IntegrationTestcaseBase) getQuesmaEndpoint() string { ctx := context.Background() q := *tc.Containers.Quesma p, _ := q.MappedPort(ctx, "8080/tcp") - return "http://localhost:" + p.Port() + return "http://0.0.0.0:" + p.Port() } func (tc *IntegrationTestcaseBase) getElasticsearchEndpoint() string { ctx := context.Background() q := *tc.Containers.Elasticsearch p, _ := q.MappedPort(ctx, "9200/tcp") - return "http://localhost:" + p.Port() + return "http://0.0.0.0:" + p.Port() } func (tc *IntegrationTestcaseBase) getClickHouseClient() (*sql.DB, error) { @@ -55,7 +55,7 @@ func (tc *IntegrationTestcaseBase) getClickHouseClient() (*sql.DB, error) { q := *tc.Containers.ClickHouse p, _ := q.MappedPort(ctx, "9000/tcp") options := clickhouse.Options{ - Addr: []string{"localhost:" + p.Port()}, + Addr: []string{"0.0.0.0:" + p.Port()}, TLS: nil, Auth: clickhouse.Auth{ Username: "default", // Replace with your ClickHouse username