mirror of
https://github.com/redis/go-redis.git
synced 2025-09-08 19:52:07 +03:00
Add client tracking and client trackinginfo commands
This commit is contained in:
@@ -243,6 +243,12 @@ var _ = Describe("Commands", func() {
|
||||
Expect(get.Val()).To(Equal("theclientname"))
|
||||
})
|
||||
|
||||
It("should ClientTrackingInfo", func() {
|
||||
clientTrackingInfo, err := client.Conn().ClientTrackingInfo(ctx).Result()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
Expect(clientTrackingInfo["prefixes"]).To(Equal([]interface{}{}))
|
||||
})
|
||||
|
||||
It("should ClientSetInfo", func() {
|
||||
pipe := client.Pipeline()
|
||||
|
||||
|
Reference in New Issue
Block a user