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

[test] Remove panics from tcp-echo system test #643

Merged
merged 1 commit into from
Apr 12, 2023

Conversation

iyzhang
Copy link
Contributor

@iyzhang iyzhang commented Apr 10, 2023

This PR removes any use of panic! from the tcp-echo system test in examples/tcp-close. Instead, we use bail! to fail gracefully and add tags for where open sockets or scatter-gather arrays should be closed/freed.

@iyzhang iyzhang added the bug Something Isn't Working label Apr 10, 2023
@iyzhang iyzhang self-assigned this Apr 10, 2023
@iyzhang iyzhang linked an issue Apr 10, 2023 that may be closed by this pull request
12 tasks
Copy link
Contributor

@ppenna ppenna left a comment

Choose a reason for hiding this comment

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

Thanks for working on this.

Please reword your commit title so that it follows our code standards.

@iyzhang iyzhang changed the title [test] Remove panics from tcp-close system test [test] Remove panics from tcp-echo system test Apr 11, 2023
@iyzhang iyzhang force-pushed the bugfix-test-tcp-echo-remove-panic branch from 3d1caf3 to f414b8d Compare April 12, 2023 00:06
@iyzhang iyzhang merged commit 330403e into dev Apr 12, 2023
10 checks passed
@iyzhang iyzhang deleted the bugfix-test-tcp-echo-remove-panic branch April 12, 2023 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something Isn't Working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants