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

Fix #581, Use OS_MAX_TIMEBASES for max timer create unit test #583

Merged
merged 1 commit into from
Sep 2, 2020

Conversation

skliper
Copy link
Contributor

@skliper skliper commented Aug 28, 2020

Describe the contribution
Fix #581 - Max timer create test was using OS_MAX_TIMERS (the limit for adding timers to a time base), but creating timers is limited by OS_MAX_TIMEBASES since the create adds a new time base.

Testing performed
Build and ran osal_timers_UT, passed without TSF

Expected behavior changes
All unit tests now pass

System(s) tested on

  • Hardware: cFS Dev Server
  • OS: Ubuntu 18.04
  • Versions: bundle main + this commit

Additional context
TSF failures started getting reported as test failures as part of #579. This PR should be merged with (or before) #579 or unit tests will fail.

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

@skliper
Copy link
Contributor Author

skliper commented Aug 28, 2020

@yammajamma - if you merge this one with (or before) #579 the unit tests won't fail.

@skliper skliper added the unit-test Tickets related to the OSAL unit testing (functional and/or coverage) label Aug 28, 2020
@astrogeco astrogeco changed the base branch from main to integration-candidate September 2, 2020 13:46
@astrogeco astrogeco merged commit b5b9801 into nasa:integration-candidate Sep 2, 2020
@skliper skliper deleted the fix581-timer-tsf branch February 1, 2021 21:36
@skliper skliper added this to the 6.0.0 milestone Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:FastTrack dependency unit-test Tickets related to the OSAL unit testing (functional and/or coverage)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

osal_timer_UT test setup failure
2 participants