Skip to content

Commit

Permalink
simple test
Browse files Browse the repository at this point in the history
  • Loading branch information
mieciu committed Oct 7, 2024
1 parent 3bd0043 commit 7118b40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/it/testcases/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,22 @@ 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) {
ctx := context.Background()
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
Expand Down

0 comments on commit 7118b40

Please sign in to comment.