mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
Fixed broken fuzzer
This commit is contained in:
parent
89da47939e
commit
4a9b7ce79a
@ -4,16 +4,17 @@ package fuzz
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/go-redis/redis"
|
||||
"time"
|
||||
)
|
||||
|
||||
var (
|
||||
ctx = context.Background()
|
||||
rdb *Client
|
||||
rdb *redis.Client
|
||||
)
|
||||
|
||||
func init() {
|
||||
rdb = NewClient(&Options{
|
||||
rdb = redis.NewClient(&redis.Options{
|
||||
Addr: ":6379",
|
||||
DialTimeout: 10 * time.Second,
|
||||
ReadTimeout: 10 * time.Second,
|
||||
|
Loading…
x
Reference in New Issue
Block a user