-
Notifications
You must be signed in to change notification settings - Fork 31
Labels
project: firmwareFirmware tasksFirmware tasks
Description
Background
We need a HIL test that will make sure that we are able to run for 60 seconds consecutively without the rm46 resetting itself. This will allows us to make sure in general that any new PRs are not causing us to segfault/bootloop
Requirements
- Write test that can detect if rm46 is able to run for 1 minute without resetting
- Test with code where there is segfault and stable code (main) and make sure the test fails and passes respectively for each case
Important Information
One way to implement this would be that since our logs are timestamped, you could read the timestamp of the log at the beggining of the test, then sleep for 90 seconds and parse the logs received during that time to make sure atleast one happened 1 minute later
Right now in the HIL there’s no way to delay for a certain amount of time, but here is a stack overflow link that shows how you could implement that: https://stackoverflow.com/questions/46467980/add-delay-to-gtest-test-case
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
project: firmwareFirmware tasksFirmware tasks