From 976586c966da71f9ba27d25a2eb6e7c1c3ea8632 Mon Sep 17 00:00:00 2001 From: adi_holden Date: Wed, 27 Nov 2024 14:44:54 +0200 Subject: [PATCH] fix cherry-pick confilic Signed-off-by: adi_holden --- src/server/list_family_test.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/server/list_family_test.cc b/src/server/list_family_test.cc index 95089a2c799a..b9ef3ab716e8 100644 --- a/src/server/list_family_test.cc +++ b/src/server/list_family_test.cc @@ -388,15 +388,6 @@ TEST_F(ListFamilyTest, DumpRestorePlain) { EXPECT_EQ(Run({"LRANGE", kKey2, "0", "1"}), kValue); } -TEST_F(ListFamilyTest, DumpRestorePlain) { - const string kValue(10'000, '#'); - EXPECT_EQ(CheckedInt({"LPUSH", kKey1, kValue}), 1); - auto buffer = Run({"DUMP", kKey1}).GetBuf(); - EXPECT_EQ(Run({"RESTORE", kKey2, "0", ToSV(buffer)}), "OK"); - EXPECT_EQ(CheckedInt({"LLEN", kKey2}), 1); - EXPECT_EQ(Run({"LRANGE", kKey2, "0", "1"}), kValue); -} - TEST_F(ListFamilyTest, LTrim) { Run({"rpush", kKey1, "a", "b", "c", "d"}); ASSERT_EQ(Run({"ltrim", kKey1, "-2", "-1"}), "OK");