mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-05 08:46:56 +08:00
bug fix: loadRdb forget to load set data struct
This commit is contained in:
@@ -32,6 +32,8 @@ func TestLoadRDB(t *testing.T) {
|
||||
asserts.AssertMultiBulkReply(t, result, []string{"1", "1"})
|
||||
result = rdbDB.Exec(conn, utils.ToCmdLine("ZRange", "zset", "0", "1", "WITHSCORES"))
|
||||
asserts.AssertMultiBulkReply(t, result, []string{"1", "1"})
|
||||
result = rdbDB.Exec(conn, utils.ToCmdLine("SCard", "set"))
|
||||
asserts.AssertIntReply(t, result, 1)
|
||||
|
||||
config.Properties = &config.ServerProperties{
|
||||
AppendOnly: false,
|
||||
|
Reference in New Issue
Block a user