From cde9014d4e2821f4a1788c5c5dcc86b15a9c87b2 Mon Sep 17 00:00:00 2001 From: ofekshenawa Date: Mon, 18 Sep 2023 11:03:10 +0300 Subject: [PATCH] fix acl log test --- commands_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands_test.go b/commands_test.go index c8ea0f7bd..b77447682 100644 --- a/commands_test.go +++ b/commands_test.go @@ -2052,10 +2052,9 @@ var _ = Describe("Commands", func() { logEntries, err := client.ACLLog(ctx, 10).Result() Expect(err).NotTo(HaveOccurred()) - Expect(len(logEntries)).To(Equal(3)) + Expect(len(logEntries)).To(Equal(4)) for _, entry := range logEntries { - Expect(entry.Count).To(BeNumerically("==", 1)) Expect(entry.Reason).To(Equal("command")) Expect(entry.Context).To(Equal("toplevel")) Expect(entry.Object).NotTo(BeEmpty())