Skip to content

Executing command on Cassandra test container #436

Answered by HofmeisterAn
YunusSarigul asked this question in Q&A
Discussion options

You must be logged in to vote

It's almost always the same. Usually, it's not enough to just wait for the port. The port is available before the container or the service, in that case Cassandra is ready. Use a custom wait strategy to determine when the service is running.

E. g. for PostgreSQL it looks like #412. Here is another example for azure-cosmos-emulator. For Cassandra, you could wait for a specific log message or something else.

Please add more information in the future to your question or discussion. What have you already tried? What error do you get? etc.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@YunusSarigul
Comment options

@HofmeisterAn
Comment options

@YunusSarigul
Comment options

Answer selected by YunusSarigul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants