-
Notifications
You must be signed in to change notification settings - Fork 210
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
Add Delay
HIL test
#1415
Add Delay
HIL test
#1415
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I'm wondering if we can test the opposite as well. For most delays what's important is that the delay waits at least as the long as specified. Waiting for longer is much less important than waiting for less than specified. I don't have a good idea on how to test that though.
As discussed in our last meeting, let's leave this open as draft until we have a solution to testing #1415 (review) |
I guess we could finish this off by doing something like this: https://github.com/esp-rs/esp-hal/pull/1503/files#diff-e59763db0f920701a0f837f4ad608deb797df5ffeb0adc976fc65eaecd1a2915R40-R42 we are sorta dependent on either breaking, but if either break we probably want to know? |
df00489
to
dbc6ab8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Tested locally on C3, S3 and C6. H2 fails (#1509).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you for your contribution!
We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:
Submission Checklist 📝
CHANGELOG.md
in the proper section.Extra:
Pull Request Details 📖
Description
Adds an HIL test for Delay.
Not really sure, how useful these tests are though. Using the same value of delay as timeouts ends up in timeouts which is expected (correct me if I'm wrong). I used "random" delay values, maybe I can tune them a little bit but not sure if that make sense. Any feedback/suggestion is appreciated.
Testing
Run Delay test locally on multiple chip targets and manually triggered HIL job for this branch.