Skip to content

Commit

Permalink
Expose shard aware port in test
Browse files Browse the repository at this point in the history
  • Loading branch information
maeb committed Apr 26, 2021
1 parent 8dcd1fd commit 5e871e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/scylla/logserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestMain(m *testing.M) {
scyllaC, err := testcontainers.GenericContainer(ctx, testcontainers.GenericContainerRequest{
ContainerRequest: testcontainers.ContainerRequest{
Image: "scylladb/scylla:4.4.1",
ExposedPorts: []string{"9042/tcp"},
ExposedPorts: []string{"9042/tcp", "19042/tcp"},
Networks: []string{networkName},
NetworkAliases: map[string][]string{
networkName: {"scylla"},
Expand Down Expand Up @@ -66,7 +66,7 @@ func TestMain(m *testing.M) {
panic(err)
}

cfg := createCluster(gocql.Quorum, "v7n_v1_dc1", "localhost")
cfg := createCluster(gocql.LocalQuorum, "v7n_v1_dc1", "localhost")
cfg.Port = cqlshPort.Int()
client := &Client{config: cfg}

Expand Down

0 comments on commit 5e871e1

Please sign in to comment.