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

[release/1.1] Fix windows closed pipe error #165

Conversation

austinvazquez
Copy link
Contributor

Issue

#164

Description

This change adds io.ErrClosedPipe to client filter close error to enable unit tests to run on the Windows platform with Go 1.20+ toolchains.

Testing

TestClientEOF passes on Windows platform with Go 1.20 toolchain

vbatts and others added 5 commits March 1, 2024 03:46
Signed-off-by: Vincent Batts <[email protected]>
(cherry picked from commit 9660e6b)
Signed-off-by: Austin Vazquez <[email protected]>
Update GitHub Actions runner OS from Ubuntu 18.04 to Ubuntu 22.04.
Update actions/setup-go from v2 to v3. Update Go compiler from Go 1.17
to Go 1.20. Update golangci-lint from v1.45.0 to v1.51.2 for Go 1.20
support. Remove deprecated `-i` flag from make coverage target.

Signed-off-by: Austin Vazquez <[email protected]>
(cherry picked from commit c7b5a32)
Signed-off-by: Austin Vazquez <[email protected]>
Signed-off-by: Austin Vazquez <[email protected]>
(cherry picked from commit 589a593)
Signed-off-by: Austin Vazquez <[email protected]>
Signed-off-by: Austin Vazquez <[email protected]>
On Windows platforms with Go 1.20+ toolchains io.ErrClosedPipe is
returned when the connection is terminated by the remote host. Filter
this to ErrClosed.

Enables Windows testing in GitHub Actions CI.

Signed-off-by: Austin Vazquez <[email protected]>
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.

2 participants