Skip to content

Commit

Permalink
Merge pull request #1811 from ArielSAdamsNASA/fix-1787-success-test-c…
Browse files Browse the repository at this point in the history
…fe_es_getmempoolstats

Fix #1787, Success Test for CFE_ES_GetMemPoolStats
  • Loading branch information
astrogeco committed Aug 20, 2021
2 parents f2bcc5e + 902255b commit 09c3b4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/es/ut-coverage/es_UT.c
Original file line number Diff line number Diff line change
Expand Up @@ -4651,6 +4651,10 @@ void TestESMempool(void)
*/
UtAssert_INT32_EQ(CFE_ES_GetMemPoolStats(&Stats, CFE_ES_MEMHANDLE_UNDEFINED), CFE_ES_ERR_RESOURCEID_NOT_VALID);

/* Test successfully getting memory pool statistics
*/
CFE_UtAssert_SUCCESS(CFE_ES_GetMemPoolStats(&Stats, PoolID1));

/* Test allocating a pool buffer where the memory block doesn't fit within
* the remaining memory
*/
Expand Down

0 comments on commit 09c3b4d

Please sign in to comment.