Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an out-of-the-box WaitStrategy that validates Cassandra's CqlSession is available #3224

Open
snicoll opened this issue Sep 11, 2020 · 1 comment
Labels

Comments

@snicoll
Copy link

snicoll commented Sep 11, 2020

We're using testcontainers with Cassandra and we need to make sure that the CqlSession is available as things happen asynchronously.

We ended up, with the help of the Cassandra team, with this code.

Although the local datacenter is specific, it could be a parameter of some kind maybe? Or a supplier for CqlSessionBuilder?

It looks like every ITs would need this strategy so it would be awesome if the project would provide that.

@stale
Copy link

stale bot commented Dec 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this.

@stale stale bot added the stale label Dec 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant