forked from mirror/redis
Increase timeout
This commit is contained in:
parent
4f34522c84
commit
99852af14d
|
@ -267,7 +267,7 @@ var _ = Describe("races", func() {
|
|||
|
||||
wg := performAsync(C, func(id int) {
|
||||
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 == redis.Nil {
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue