Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/container/cassandra_container.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule Testcontainers.CassandraContainer do
"""

alias Testcontainers.CassandraContainer
alias Testcontainers.LogWaitStrategy
alias Testcontainers.CommandWaitStrategy
alias Testcontainers.ContainerBuilder
alias Testcontainers.Container

Expand Down Expand Up @@ -89,8 +89,8 @@ defmodule Testcontainers.CassandraContainer do
|> with_environment(:CASSANDRA_ENDPOINT_SNITCH, "GossipingPropertyFileSnitch")
|> with_environment(:CASSANDRA_DC, "datacenter1")
|> with_waiting_strategy(
LogWaitStrategy.new(
~r/Starting listening for CQL clients on \/0\.0\.0\.0:#{CassandraContainer.default_port()}.*/,
CommandWaitStrategy.new(
["cqlsh", "-e", "describe keyspaces"],
config.wait_timeout
)
)
Expand Down
Loading