mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
internal/pool: replace atomic.Value with int64
This commit is contained in:
@ -78,7 +78,7 @@ var _ = Describe("PubSub", func() {
|
||||
}
|
||||
|
||||
stats := client.PoolStats()
|
||||
Expect(stats.Misses).To(Equal(uint32(2)))
|
||||
Expect(stats.Misses).To(Equal(uint32(1)))
|
||||
})
|
||||
|
||||
It("should pub/sub channels", func() {
|
||||
@ -201,7 +201,7 @@ var _ = Describe("PubSub", func() {
|
||||
}
|
||||
|
||||
stats := client.PoolStats()
|
||||
Expect(stats.Misses).To(Equal(uint32(2)))
|
||||
Expect(stats.Misses).To(Equal(uint32(1)))
|
||||
})
|
||||
|
||||
It("should ping/pong", func() {
|
||||
|
Reference in New Issue
Block a user