forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: lib: date_time: Tests for scheduled updates
Adding tests for scheduled date-time updates verifying that they occur at configured intervals. Some small clean-up and additional logging into date-time library. Branch coverage is going from ~44% to ~98% having 3 branches untested. These are related to failure of clock_gettime/clock_settime which cannot really be achieved without creating a different test set and mocking those APIs. With default configuration, the tests run almost 30s due to update intervals that we need to wait. Jira: NCSDK-28887 Signed-off-by: Tommi Rantanen <[email protected]>
- Loading branch information
1 parent
f411b5a
commit fe6555b
Showing
6 changed files
with
823 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.