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

Fix flaky test TestStartupTimeout #1558

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

panlong222
Copy link

In conn_test.go, "TestStartupTimeout" at the very last step requires the log to contain "no response to connection startup within timeout".

However, during my test, it fails sometimes, not always, with log containing "no response received from cassandra within timeout period" instead.

Fixing the flaky test by allowing log to contain either message.

In conn_test.go, TestStartupTimeout at the very last step requires the log to contain "no response to connection startup within timeout".

However, during my test, it fails sometimes with log containing "no response received from cassandra within timeout period" instead.

Fixing the flaky test by allowing log to contain either message.
@martin-sucha
Copy link
Contributor

Hello. Thank you for the pull request!

The change looks good to me.

Could you please add yourself to AUTHORS file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants