Skip to content

Enable SocketCAN interface tests in GitHub CI - #1484

Merged
zariiii9003 merged 4 commits into
hardbyte:developfrom
lumagi:socketcan_in_ci
Jan 14, 2023
Merged

Enable SocketCAN interface tests in GitHub CI#1484
zariiii9003 merged 4 commits into
hardbyte:developfrom
lumagi:socketcan_in_ci

Conversation

@lumagi

@lumagi lumagi commented Jan 10, 2023

Copy link
Copy Markdown
Collaborator

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

lumagi commented Jan 14, 2023

Copy link
Copy Markdown
Collaborator Author

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

lumagi commented Jan 14, 2023

Copy link
Copy Markdown
Collaborator Author

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

Comment thread test/test_socketcan.py Outdated

@zariiii9003 zariiii9003 left a comment

Copy link
Copy Markdown
Collaborator

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.

2 participants