mirror of
https://github.com/redis/go-redis.git
synced 2025-07-26 19:21:03 +03:00
Speed up connections by sending SetInfo via a pipeline (#2880)
* Send Client SetInfo via pipe * Fix ACL test * Add client set info to acl command rules
This commit is contained in:
@ -2105,7 +2105,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"))
|
||||
@ -2121,7 +2121,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() {
|
||||
|
Reference in New Issue
Block a user