Skip to content

Commit

Permalink
Fix ACL test
Browse files Browse the repository at this point in the history
  • Loading branch information
ofekshenawa committed Feb 5, 2024
1 parent beabb6e commit a118fe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2100,7 +2100,7 @@ var _ = Describe("Commands", func() {

logEntries, err := client.ACLLog(ctx, 10).Result()
Expect(err).NotTo(HaveOccurred())
Expect(len(logEntries)).To(Equal(4))
Expect(len(logEntries)).To(Equal(1))

for _, entry := range logEntries {
Expect(entry.Reason).To(Equal("command"))
Expand All @@ -2116,7 +2116,7 @@ var _ = Describe("Commands", func() {

limitedLogEntries, err := client.ACLLog(ctx, 2).Result()
Expect(err).NotTo(HaveOccurred())
Expect(len(limitedLogEntries)).To(Equal(2))
Expect(len(limitedLogEntries)).To(Equal(1))
})

It("should ACL LOG RESET", Label("NonRedisEnterprise"), func() {
Expand Down

0 comments on commit a118fe6

Please sign in to comment.