From a47b7546a53584290afe276b1158664cb705e110 Mon Sep 17 00:00:00 2001 From: "Gromadzki, Tomasz" Date: Tue, 9 Apr 2024 20:03:04 +0200 Subject: [PATCH] common: add SDS related CORE_LOG_WARNING to core_log_max test Signed-off-by: Gromadzki, Tomasz --- src/test/core_log_max/call_all.c.generated | 2 ++ src/test/core_log_max/core_log_max.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/core_log_max/call_all.c.generated b/src/test/core_log_max/call_all.c.generated index 6c38ba31d31..1ef0385ab22 100644 --- a/src/test/core_log_max/call_all.c.generated +++ b/src/test/core_log_max/call_all.c.generated @@ -452,6 +452,8 @@ call_all_CORE_LOG_WARNING(void) // src/common/set.c CORE_LOG_WARNING("usable space mapping failed - part #%d - retrying", _d); // src/common/set.c + CORE_LOG_WARNING("Possible silent data corruption. The unsafe shutdown detection (SDS) is not supported in the pool: %s", _s); + // src/common/set.c CORE_LOG_WARNING("pool set contains bad blocks, ignoring"); // src/common/set.c CORE_LOG_WARNING("cannot open the part -- \"%s\"", _s); diff --git a/src/test/core_log_max/core_log_max.c b/src/test/core_log_max/core_log_max.c index 2287affe3de..57cb19b6960 100644 --- a/src/test/core_log_max/core_log_max.c +++ b/src/test/core_log_max/core_log_max.c @@ -119,7 +119,7 @@ test_ERR_W_ERRNO(const struct test_case *tc, int argc, char *argv[]) return NO_ARGS_CONSUMED; } -#define TOTAL_MESSAGE_NUM_EXPECTED 212 +#define TOTAL_MESSAGE_NUM_EXPECTED 213 static int Max_message_len = 0; static int Total_message_num = 0; static char The_longest_message[BIG_BUF_SIZE];