mirror of
https://github.com/redis/go-redis.git
synced 2025-08-08 23:42:06 +03:00
chore: remove WithContext
This commit is contained in:
@@ -290,13 +290,6 @@ var _ = Describe("races", func() {
|
||||
Expect(atomic.LoadUint32(&received)).To(Equal(uint32(C * N)))
|
||||
})
|
||||
|
||||
It("should WithContext", func() {
|
||||
perform(C, func(_ int) {
|
||||
err := client.WithContext(ctx).Ping(ctx).Err()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
})
|
||||
})
|
||||
|
||||
It("should abort on context timeout", func() {
|
||||
opt := redisClusterOptions()
|
||||
client := cluster.newClusterClient(ctx, opt)
|
||||
|
Reference in New Issue
Block a user