From 63f95290bb74982eb01b629ddda03a6e4e507256 Mon Sep 17 00:00:00 2001 From: ranshid Date: Tue, 9 Jul 2024 10:01:49 +0000 Subject: [PATCH] fix rdb.tcl after error string change Signed-off-by: ranshid --- src/commands.def | 2 +- tests/integration/rdb.tcl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands.def b/src/commands.def index aebc5087e1..2a2ac24f61 100644 --- a/src/commands.def +++ b/src/commands.def @@ -6331,7 +6331,7 @@ struct COMMAND_STRUCT ACL_Subcommands[] = { /* BGSAVE command table */ struct COMMAND_STRUCT BGSAVE_Subcommands[] = { -{MAKE_CMD("cancel","Terminates a running bgsave child process.","O(1)","8.0.0",CMD_DOC_NONE,NULL,NULL,"server",COMMAND_GROUP_SERVER,BGSAVE_CANCEL_History,0,BGSAVE_CANCEL_Tips,0,bgsaveCancelCommand,-1,CMD_ADMIN,ACL_CATEGORY_CONNECTION,BGSAVE_CANCEL_Keyspecs,0,NULL,0)}, +{MAKE_CMD("cancel","Terminates a running bgsave child process.","O(1)","8.0.0",CMD_DOC_NONE,NULL,NULL,"server",COMMAND_GROUP_SERVER,BGSAVE_CANCEL_History,0,BGSAVE_CANCEL_Tips,0,bgsaveCancelCommand,-1,CMD_ADMIN,0,BGSAVE_CANCEL_Keyspecs,0,NULL,0)}, {0} }; diff --git a/tests/integration/rdb.tcl b/tests/integration/rdb.tcl index 2456a38be5..f1c8129b4a 100644 --- a/tests/integration/rdb.tcl +++ b/tests/integration/rdb.tcl @@ -206,7 +206,7 @@ start_server {} { } else { fail "bgsave is currently running" } - assert_error "ERR Background save is currently not in progress" {r bgsave cancel} + assert_error "ERR Background bgsave is currently not in progress" {r bgsave cancel} }