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 #670, clean up task definitions in core test #671

Merged

Conversation

jphickey
Copy link
Contributor

@jphickey jphickey commented Dec 7, 2020

Describe the contribution
Move all definitions and instantiations out of the header file. Reuse the single task definition that was already defined.

Also only define 3 instances of each type, as this is all that the test actually uses (no need for 20).

Fixes #670

Testing performed
Build and run the unit tests

Expected behavior changes
Test Tasks do not run at 100%

System(s) tested on
Ubuntu 20.04

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Move all definitions and instantiations out of the header file.
Reuse the single task definition that was already defined.

Also only define 3 instances of each type, as this is all that
the test actually uses (no need for 20).
@jphickey jphickey added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Dec 7, 2020
@skliper skliper added this to the 6.0.0 milestone Dec 8, 2020
@astrogeco
Copy link
Contributor

CCB 2020-12-09 APPROVED

@astrogeco astrogeco added CCB-20201209 and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Dec 9, 2020
@astrogeco astrogeco changed the base branch from main to integration-candidate December 16, 2020 17:15
@astrogeco astrogeco merged commit 26835b9 into nasa:integration-candidate Dec 17, 2020
astrogeco added a commit to nasa/cFS that referenced this pull request Dec 17, 2020
@jphickey jphickey deleted the fix-670-core-test-tasks branch January 27, 2021 14:09
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.

osal core test is not a good example of how to write tasks
3 participants