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

tests: Assert connection error code rather than message #1023

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

lmars
Copy link
Member

@lmars lmars commented Jul 23, 2024

The error messages are subject to change, but the codes are not, so assert the code instead.

The error messages are subject to change, but the codes are not, so
assert the code instead.

Signed-off-by: Lewis Marshall <[email protected]>
Copy link
Contributor

@ttypic ttypic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lmars lmars merged commit 53bf197 into main Jul 24, 2024
7 of 9 checks passed
@lmars lmars deleted the test-no-error-message branch July 24, 2024 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants