You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
One of the units test for SCH_ValidateMessageData() in the scheduler app fails when the maximum number of function stubs is set to 200. The error message indicates that the buffer cannot be set due to UT_MAX_FUNC_STUBS being too low.
To Reproduce
Clone the scheduler app into the cFS repo
Run make in cFS/apps/sch
Expected behavior
The unit test for SCH_ValidateMessageData() should pass without errors
Code snips
2: [BEGIN] 61 SCH_ValidateMessageData_MessageIdUnused
2: [ABORT] Cannot set data buffer - UT_MAX_FUNC_STUBS too low?
2/4 Test #2: coverage-sch-sch_app .............Subprocess aborted***Exception: 0.24 sec
Additional context
Increasing UT_MAX_FUNC_STUBS to 300 resolved the issue, allowing the test to pass.
Reporter Info
Tvisha Andharia - GSFC 582 Intern
The text was updated successfully, but these errors were encountered:
tandharia
pushed a commit
to tandharia/osal
that referenced
this issue
Aug 6, 2024
The issue has been resolved - the scheduler unit tests have been updated and no longer need a change to UT_MAX_FUNC_STUBS's value. I will be closing this issue
Describe the bug
One of the units test for SCH_ValidateMessageData() in the scheduler app fails when the maximum number of function stubs is set to 200. The error message indicates that the buffer cannot be set due to UT_MAX_FUNC_STUBS being too low.
To Reproduce
Clone the scheduler app into the cFS repo
Run make in cFS/apps/sch
Expected behavior
The unit test for SCH_ValidateMessageData() should pass without errors
Code snips
Additional context
Increasing UT_MAX_FUNC_STUBS to 300 resolved the issue, allowing the test to pass.
Reporter Info
Tvisha Andharia - GSFC 582 Intern
The text was updated successfully, but these errors were encountered: