mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
internal/pool: replace atomic.Value with int64
This commit is contained in:
@ -191,6 +191,8 @@ var _ = Describe("Client", func() {
|
||||
client.Pool().Put(cn)
|
||||
Expect(cn.UsedAt().Equal(createdAt)).To(BeTrue())
|
||||
|
||||
time.Sleep(time.Second)
|
||||
|
||||
err = client.Ping().Err()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
|
Reference in New Issue
Block a user