From d628c4a24631b61671d294cb1334005af873ff6a Mon Sep 17 00:00:00 2001 From: PengZheng Date: Tue, 12 Dec 2023 18:38:36 +0800 Subject: [PATCH] Revert "Remove noisy debugging messaging." This reverts commit ac1fe6cf1abaf2f22e820db1ff3178dfa87c4ef9. --- libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc b/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc index fa250fe80..970578611 100644 --- a/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc +++ b/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc @@ -195,6 +195,8 @@ TEST_F(PropertiesErrorInjectionTestSuite, LoadFailureTest) { // Then the celix_properties_load call fails auto props = celix_properties_load("file"); ASSERT_EQ(nullptr, props); + // And a celix err msg is set + ASSERT_EQ(1, celix_err_getErrorCount()); celix_err_resetErrors(); // When a malloc error injection is set for celix_properties_loadWithStream (during properties create)