From 74233a52e0176b757e41ccb1e20c04ea04b28ed5 Mon Sep 17 00:00:00 2001 From: rfyiamcool Date: Tue, 19 Dec 2023 23:39:21 +0800 Subject: [PATCH] feat: add object fraq command Signed-off-by: rfyiamcool --- commands_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands_test.go b/commands_test.go index 150b48ef7d..95e379274a 100644 --- a/commands_test.go +++ b/commands_test.go @@ -676,7 +676,7 @@ var _ = Describe("Commands", func() { Expect(refCount.Val()).To(Equal(int64(1))) freq := client.ObjectFreq(ctx, "key") - Expect(freq.Err()).NotTo(HaveOccurred()) + Expect(freq.Err()).To(MatchError("LFU maxmemory policy is not selected")) err := client.ObjectEncoding(ctx, "key").Err() Expect(err).NotTo(HaveOccurred())