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 - close the connection only if there is no errors #281

Merged
merged 1 commit into from
Jan 13, 2022

Conversation

oshai
Copy link
Contributor

@oshai oshai commented Jan 13, 2022

In some errors closing the connection is throwing another error
to the test so the part we validate which connection is thrown
is failing. The solution is to close the connection only
if there wasn't a failure as part of the normal flow and not
in finally block.

fix #280

In some errors closing the connection is throwing another error
to the test so the part we validate which connection is thrown
is failing. The solution is to close the connection only
if there wasn't a failure as part of the normal flow and not
in finally block.

fix #280
@oshai oshai merged commit 4230520 into master Jan 13, 2022
@oshai oshai deleted the flaky branch January 13, 2022 19:41
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.

ssl test in mysql is flaky
1 participant