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 #586, Add one shot timer functional test #653

Merged

Conversation

zanzaben
Copy link
Contributor

@zanzaben zanzaben commented Nov 11, 2020

Describe the contribution
Fixes #586, added a one shot timer.

Added a 5th timer to functional test to test the one shot (zero-length time interval) case.

Testing performed
Build and run unit test.

Expected behavior changes
No behavior change

System(s) tested on
Ubuntu 20.04

Contributor Info - All information REQUIRED for consideration of pull request
Alex Campbell GSFC

@skliper
Copy link
Contributor

skliper commented Nov 12, 2020

Amend commit - "Fix #586, Add one-shot timer functional test"

@zanzaben zanzaben added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Nov 12, 2020
@astrogeco astrogeco changed the title added one shot timer. Fix #586, Add one shot timer Nov 12, 2020
@astrogeco
Copy link
Contributor

CCB 2020-11-12
Make timer smaller

@skliper
Copy link
Contributor

skliper commented Nov 12, 2020

Recommend squash and amend - "Fix #586, Add one-shot timer functional test"

@astrogeco astrogeco added CCB-20201112 and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Nov 13, 2020
@astrogeco astrogeco changed the base branch from main to integration-candidate November 23, 2020 05:58
@astrogeco
Copy link
Contributor

@zanzaben please revise conflict, I think it just needs a type change from uint32 to osal_index_t. Also please add a more explicit description to the behavior change since this does change the unit tests right?

@zanzaben zanzaben removed the conflicts label Dec 1, 2020
@skliper skliper changed the title Fix #586, Add one shot timer Fix #586, Add one shot timer functional test Dec 1, 2020
@astrogeco
Copy link
Contributor

@skliper should we add some more description to what the change here actually does? I skimmed through the API and documentation conversation referenced in #586 but I think its still kind of vague.

@zanzaben
Copy link
Contributor Author

zanzaben commented Dec 1, 2020

What happened is that there was a functional test that used a list of 4 different timers. I added a 5th timer to that list to test the one shot case.

@skliper
Copy link
Contributor

skliper commented Dec 1, 2020

@astrogeco I'm good with it but feel free to suggest anything you'd like to have added

@astrogeco
Copy link
Contributor

Just added zanzaben's comment to the description along with my simple definition of one-shot. #learningthelingo

@astrogeco astrogeco merged commit 41e8b9d into nasa:integration-candidate Dec 1, 2020
astrogeco added a commit to astrogeco/cFS that referenced this pull request Dec 1, 2020
astrogeco added a commit to astrogeco/cFS that referenced this pull request Dec 2, 2020
@zanzaben zanzaben deleted the fix586-one-shot-time-test branch January 7, 2021 14:39
@skliper skliper added this to the 6.0.0 milestone Sep 24, 2021
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add functional test for "one-shot" timer
3 participants