-
Notifications
You must be signed in to change notification settings - Fork 25
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
CS_RecomputeAppChildTask_Test_DefEntryId sets up handler for wrong function key #44
Comments
Hey @irowebbn , thank you for the issue and pr. Are you running the latest cFS when you see the |
I noticed that the test were passing in the CI, but I wasn't able to determine what about the environment was different that would cause a failure. The cFS I was using consisted of : cFE draco-rc3, OSAL draco-rc3, PSP draco-rc2 |
Tests failing on nasa/CS main branch as well now (see https://github.com/thnkslprpt/CS/actions/runs/4333025360/jobs/7565890664#step:11:3742). I will submit a PR with the change identified by @irowebbn fixing the tests so that it doesn't start holding up other PRs. |
…ailing-tests Fix #44, Update function key in CS_RecomputeAppChildTask_Test_DefEntryId
Checklist (Please check before submitting)
Describe the bug
A clear and concise description of what the bug is.
The CS_RecomputeAppChildTask_Test_DefEntryId sets the handler
CS_COMPUTE_TEST_CFE_ES_GetModuleInfoHandler1
for the function keyCFE_ES_GetAppInfo
when it should use the keyCFE_ES_GetModuleInfo
. The function under test,CS_RecomputeAppChildTask
does not callCFE_ES_GetAppInfo
, but rather CFE_ES_GetModuleInfo, which in turn callsCFE_GetAppInfo
. Without the handler set for this function, some properties ofAppInfo
in the test may not be set and will cause the test to fail on some systems.To Reproduce
Steps to reproduce the behavior:
build/intel64/default_intel64/apps/cs/unit-test
)ctest -vvv --output-on-failure
Expected behavior
The test should pass.
Code snips
If applicable, add references to the software.
CS/unit-test/cs_compute_tests.c
Line 1571 in 3458f65
System observed on:
Additional context
Add any other context about the problem here.
Reporter Info
Full name and company/organization if applicable
Isaac Rowe, NASA JSC (Jacobs Technology)
The text was updated successfully, but these errors were encountered: