Open skliper opened 3 years ago
Is your feature request related to a problem? Please describe. Default config doesn't use the hash implementation, so there's no way to get collisions:
1129 [ - + ]: 451 : if (Collisions != 0) 1130 : : { 1131 : 0 : CFE_EVS_SendEventWithAppID(CFE_SB_HASHCOLLISION_EID, CFE_EVS_EventType_DEBUG, CFE_SB_Global.AppId, 1132 : : "Msg hash collision: MsgId = 0x%x, collisions = %u", 1133 : 0 : (unsigned int)CFE_SB_MsgIdToValue(MsgId), (unsigned int)Collisions); 1134 : : }
here: https://github.com/nasa/cFE/blob/5e41330979586bcdb113f491ea6c38ff9975fc72/modules/sb/fsw/src/cfe_sb_api.c#L1129-L1134
Describe the solution you'd like
Describe alternatives you've considered None.
Additional context None
Requester Info Jacob Hageman - NASA/GSFC
Code Coverage is not possible. "Collisions" is always set to 0. To set collision the following path is taken:
CFE_SBR_SetRouteId is how "collisions" is set but it will always return 0.
Is your feature request related to a problem? Please describe. Default config doesn't use the hash implementation, so there's no way to get collisions:
here: https://github.com/nasa/cFE/blob/5e41330979586bcdb113f491ea6c38ff9975fc72/modules/sb/fsw/src/cfe_sb_api.c#L1129-L1134
Describe the solution you'd like
1462
Describe alternatives you've considered None.
Additional context None
Requester Info Jacob Hageman - NASA/GSFC