mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Extract race tests to separate file. Add more race tests.
This commit is contained in:
@ -12,10 +12,9 @@ import (
|
||||
var client *redis.Client
|
||||
|
||||
func init() {
|
||||
client = redis.NewClient(&redis.Options{
|
||||
Addr: ":6379",
|
||||
DialTimeout: 10 * time.Second,
|
||||
})
|
||||
opt := redisOptions()
|
||||
opt.Addr = ":6379"
|
||||
client = redis.NewClient(opt)
|
||||
client.FlushDb()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user