Fixed test issue with overflow of times #574
No reviewers
Labels
No Label
API Change
Breaking API Change
bug
build
cosmetics
Documentation
duplicate
feature
help wanted
hotfix
invalid
question
Refactor
Tests
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: fsfw/fsfw#574
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "gaisser/fsfw:gaisser_ccsds_time_tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tests of LocalDatapoolManager had an issue with overflowing times. This is solved by using timevalOperations.
@ -92,0 +111,4 @@
CCSDSTime::CDS_short cdsTime;
result = CCSDSTime::convertToCcsds(&cdsTime, &timeAsTimeval);
CHECK(result == HasReturnvaluesIF::RETURN_OK);
Can you add a check for the resulting cds_short value, to find a reversible error in the conversions?
Done
Thanks!