feat(server): Implement PFMERGE (#1180)

* feat(server): Implement PFMERGE.

* Disable lock check on failing tests.
This commit is contained in:
Chaka 2023-05-04 15:12:48 +03:00 committed by GitHub
parent cb82680aca
commit a2f68d1b3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 221 additions and 42 deletions

View file

@ -368,6 +368,9 @@ TEST_P(HllRdbTest, Hll) {
EXPECT_EQ(CheckedInt({"pfadd", GetParam(), "2"}), 1);
EXPECT_EQ(CheckedInt({"pfcount", GetParam()}), 2);
EXPECT_EQ(Run({"pfmerge", "key3", GetParam(), "key2"}), "OK");
EXPECT_EQ(CheckedInt({"pfcount", "key3"}), 2);
}
INSTANTIATE_TEST_SUITE_P(HllRdbTest, HllRdbTest, Values("key-sparse", "key-dense"));