Skip to content
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

Fixes in Sys Timer test #10744

Merged
merged 1 commit into from Jun 19, 2019
Merged

Fixes in Sys Timer test #10744

merged 1 commit into from Jun 19, 2019

Conversation

LMESTM
Copy link
Contributor

@LMESTM LMESTM commented Jun 3, 2019

Description

Do not call sleep from the test thread, but let scheduler do it.
And also include the deep sleep latency in the computation of the allowed
delta for deep sleep test case.

Issue was seen during testing #10701

@jeromecoutant @mprse

Pull request type

[ ] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[x] Test update
[ ] Breaking change

Reviewers

Release Notes

Do not call sleep from the test thread, but let scheduler do it.
And also include the deep sleep latency in the computation of the allowed
delta for deep sleep test case.
Copy link
Contributor

@mprse mprse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.
Increasing of the delta value for the deep-sleep test case is consistent with the requirements:

* * the wake-up time should be less than 10 ms - Verified by deepsleep_lpticker_test().

@ciarmcom ciarmcom requested review from a team June 3, 2019 13:00
@ciarmcom
Copy link
Member

ciarmcom commented Jun 3, 2019

@LMESTM, thank you for your changes.
@ARMmbed/mbed-os-test @ARMmbed/mbed-os-core @ARMmbed/mbed-os-maintainers please review.

@0xc0170 0xc0170 removed the request for review from a team June 3, 2019 13:35
@LMESTM
Copy link
Contributor Author

LMESTM commented Jun 6, 2019

@0xc0170 I think this PR has now been approved ?

@mbed-ci
Copy link

mbed-ci commented Jun 9, 2019

Test run: SUCCESS

Summary: 4 of 4 test jobs passed
Build number : 1
Build artifacts

@adbridge
Copy link
Contributor

restarting ci as this ran so long ago

@mbed-ci
Copy link

mbed-ci commented Jun 19, 2019

Test run: SUCCESS

Summary: 4 of 4 test jobs passed
Build number : 2
Build artifacts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants