-
Notifications
You must be signed in to change notification settings - Fork 215
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
Fix #424, Add looping wait for self exiting task #426
Fix #424, Add looping wait for self exiting task #426
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.
Looks good to me
@stanislaw @yammajamma - could you test on your systems that reported failure? If you run with debug |
Or pipe to a file so you can see the exit status... whatever. |
CCB 20200422 - Add upper limit to loop, APPROVED |
5a09605
to
e7bba8f
Compare
Added loop limit of 100, and assert |
Tested with bundle, SIMULATION=native ENABLE_UNIT_TEST=true. Passed |
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.
Looks good.
Describe the contribution
Loops the parent OS_TaskDelay until child task exits before testing OS_TaskDelete. Avoids the test depending on system loading/performance with single delay approach.
Fix #424
Testing performed
Steps taken to test the contribution:
osal-core-test -d
and observed Loop count of 1 (I've never experienced the failure, which if avoided would have a loop count > 1)Expected behavior changes
Consistent osal-core-test execution status
System(s) tested on
Additional context
Issue seen on dev server 4 and Mac OS
Third party code
None
Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC