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

Enable SocketCAN interface tests in GitHub CI #1484

Merged
merged 4 commits into from Jan 14, 2023

Conversation

lumagi
Copy link
Collaborator

@lumagi lumagi commented Jan 10, 2023

See #1479
I still need to investigate why the CPython tests fail.

Previously, it was not permitted to restart an already started period
send task for SocketCAN. This behavior was changed in PR hardbyte#1440. This
commit adjusts the test to reflect this change.
@lumagi
Copy link
Collaborator Author

lumagi commented Jan 14, 2023

For future reference: As of PR #1440 the default behavior for restarting Cyclic Send Tasks for SocketCAN was changed from raising an exception to not raising an exception. The test was still testing for an exception to be raised, which is no longer the case.

@lumagi
Copy link
Collaborator Author

lumagi commented Jan 14, 2023

@zariiii9003 I think this should be fine now. Please check if the CI integration and the tests suit you.

test/test_socketcan.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@zariiii9003 zariiii9003 left a comment

Choose a reason for hiding this comment

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

Really nice addition, thank you

@zariiii9003 zariiii9003 merged commit 69a5209 into hardbyte:develop Jan 14, 2023
@lumagi lumagi deleted the socketcan_in_ci branch January 14, 2023 22:03
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