nasa / CF

The Core Flight System (cFS) CFDP application.
Apache License 2.0
86 stars 46 forks source link

Num of transactions in channel should be multiplied by num of channels in unit test #290

Closed havencarlson closed 2 years ago

havencarlson commented 2 years ago

Checklist (Please check before submitting)

Describe the bug In Test_CF_CFDP_InitEngine(), CF_NUM_TRANSACTIONS_PER_CHANNEL isn't multiplied by CF_NUM_CHANNELS, causing the assert to fail (see code snippet below)

To Reproduce Run unit tests

Expected behavior All unit tests should pass

Code snips https://github.com/nasa/CF/blob/07747463131050606cc58127b932a4c580d4a57f/unit-test/cf_cfdp_tests.c#L853

System observed on: