Skip to content

Commit

Permalink
Fix #1787, Success Test for CFE_ES_GetMemPoolStats
Browse files Browse the repository at this point in the history
  • Loading branch information
arielswalker committed Aug 13, 2021
1 parent 73c1565 commit 902255b
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 @@ -4619,6 +4619,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 902255b

Please sign in to comment.