mirror of https://github.com/go-redis/redis.git
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) {
|
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
|
||||||
|
|
Loading…
Reference in New Issue