From 3efc5b5068d3e82358453fde25519cb59efc4a5d Mon Sep 17 00:00:00 2001 From: ArielSAdamsNASA Date: Fri, 13 Aug 2021 09:40:06 -0500 Subject: [PATCH] Fix #1787, Success Test for CFE_ES_GetMemPoolStats --- modules/es/ut-coverage/es_UT.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/es/ut-coverage/es_UT.c b/modules/es/ut-coverage/es_UT.c index ca7156b5c..ff9dd781b 100644 --- a/modules/es/ut-coverage/es_UT.c +++ b/modules/es/ut-coverage/es_UT.c @@ -4618,6 +4618,10 @@ void TestESMempool(void) * the pool start address */ 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