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

Relax test assertions #193

Merged
merged 1 commit into from Apr 27, 2022
Merged

Relax test assertions #193

merged 1 commit into from Apr 27, 2022

Conversation

azdagron
Copy link
Member

The current assertions are too coupled to the exact error message
produced by the Go net package internals, which can vary between
versions and platforms.

We don't really need this strong of an assertion. All we need to know is
that the Close() method was wired through appropriately.

Signed-off-by: Andrew Harding aharding@vmware.com

The current assertions are too coupled to the exact error message
produced by the Go net package internals, which can vary between
versions and platforms.

We don't really need this strong of an assertion. All we need to know is
that the Close() method was wired through appropriately.

Signed-off-by: Andrew Harding <aharding@vmware.com>
Copy link
Member

@amartinezfayo amartinezfayo left a comment

Choose a reason for hiding this comment

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

🚀

@azdagron
Copy link
Member Author

I'm going to merge this even though there are other windows CI/CD failures.

@azdagron azdagron merged commit aaec099 into spiffe:main Apr 27, 2022
@azdagron azdagron deleted the relax-assertions branch April 27, 2022 21:38
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