Skip to content

Commit

Permalink
fix acl log test
Browse files Browse the repository at this point in the history
  • Loading branch information
ofekshenawa committed Sep 18, 2023
1 parent ba5fe9c commit cde9014
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit cde9014

Please sign in to comment.