Skip to content

Commit

Permalink
Merge pull request #6075 from grom72/SDS-fix-1
Browse files Browse the repository at this point in the history
common: add SDS related CORE_LOG_WARNING to core_log_max test
  • Loading branch information
janekmi authored Apr 15, 2024
2 parents d38a0a0 + a47b754 commit b46342e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/test/core_log_max/call_all.c.generated
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/test/core_log_max/core_log_max.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit b46342e

Please sign in to comment.