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 panic from UDP system tests #652

Merged
merged 1 commit into from
Apr 12, 2023

Conversation

iyzhang
Copy link
Contributor

@iyzhang iyzhang commented Apr 12, 2023

This PR removes panics (and unwrap and expects) from the UDP system tests in examples/rust/udp-*. It also links to a new issue for cleaning up state on error. It also replaces assert! with assert_eq!

@iyzhang iyzhang added the bug Something Isn't Working label Apr 12, 2023
@iyzhang iyzhang self-assigned this Apr 12, 2023
@iyzhang iyzhang force-pushed the bugfix-test-udp-system-tests-remove-panic branch from a2fff9f to 281cd1e Compare April 12, 2023 01:03
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.

LGTM.

@iyzhang iyzhang force-pushed the bugfix-test-udp-system-tests-remove-panic branch from 281cd1e to d4e3c07 Compare April 12, 2023 18:45
@iyzhang iyzhang merged commit b33f512 into dev Apr 12, 2023
10 checks passed
@iyzhang iyzhang deleted the bugfix-test-udp-system-tests-remove-panic branch April 12, 2023 19:00
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