Merge pull request #1654 from AdamKorcz/fuzz1

Fixed broken fuzzer
This commit is contained in:
Vladimir Mihailenco 2021-02-06 08:27:07 +02:00 committed by GitHub
commit 89b72c9e2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -4,16 +4,17 @@ package fuzz
import ( import (
"context" "context"
"github.com/go-redis/redis"
"time" "time"
) )
var ( var (
ctx = context.Background() ctx = context.Background()
rdb *Client rdb *redis.Client
) )
func init() { func init() {
rdb = NewClient(&Options{ rdb = redis.NewClient(&redis.Options{
Addr: ":6379", Addr: ":6379",
DialTimeout: 10 * time.Second, DialTimeout: 10 * time.Second,
ReadTimeout: 10 * time.Second, ReadTimeout: 10 * time.Second,