mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
fix: hiredis requires df to report version >7.4 (#4474)
* bump up redis version in info command * add compatibility test * bump up py dependencies * fix warnings and deprecated functions --------- Signed-off-by: kostas <kostas@dragonflydb.io>
This commit is contained in:
parent
6f3c6e3d57
commit
b017cdd1a0
11 changed files with 45 additions and 26 deletions
|
@ -305,7 +305,7 @@ TEST_F(DflyEngineTestWithRegistry, Hello) {
|
|||
|
||||
EXPECT_THAT(
|
||||
resp.GetVec(),
|
||||
ElementsAre("server", "redis", "version", "7.2.0", "dragonfly_version",
|
||||
ElementsAre("server", "redis", "version", "7.4.0", "dragonfly_version",
|
||||
ArgType(RespExpr::STRING), "proto", IntArg(2), "id", ArgType(RespExpr::INT64),
|
||||
"mode", testing::AnyOf("standalone", "cluster"), "role", "master"));
|
||||
|
||||
|
@ -313,7 +313,7 @@ TEST_F(DflyEngineTestWithRegistry, Hello) {
|
|||
ASSERT_THAT(resp, ArrLen(14));
|
||||
EXPECT_THAT(
|
||||
resp.GetVec(),
|
||||
ElementsAre("server", "redis", "version", "7.2.0", "dragonfly_version",
|
||||
ElementsAre("server", "redis", "version", "7.4.0", "dragonfly_version",
|
||||
ArgType(RespExpr::STRING), "proto", IntArg(3), "id", ArgType(RespExpr::INT64),
|
||||
"mode", testing::AnyOf("standalone", "cluster"), "role", "master"));
|
||||
|
||||
|
|
|
@ -230,7 +230,7 @@ using strings::HumanReadableNumBytes;
|
|||
|
||||
namespace {
|
||||
|
||||
const auto kRedisVersion = "7.2.0";
|
||||
const auto kRedisVersion = "7.4.0";
|
||||
|
||||
using EngineFunc = void (ServerFamily::*)(CmdArgList args, const CommandContext&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue