1
0
mirror of https://github.com/redis/go-redis.git synced 2025-08-08 23:42:06 +03:00

Increase timeout

This commit is contained in:
Vladimir Mihailenco
2021-01-24 11:01:48 +02:00
parent 4f34522c84
commit 99852af14d

View File

@@ -267,7 +267,7 @@ var _ = Describe("races", func() {
wg := performAsync(C, func(id int) { wg := performAsync(C, func(id int) {
for { for {
v, err := client.BLPop(ctx, 3*time.Second, "list").Result() v, err := client.BLPop(ctx, 5*time.Second, "list").Result()
if err != nil { if err != nil {
if err == redis.Nil { if err == redis.Nil {
break break