mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Fix test.
This commit is contained in:
@ -56,7 +56,7 @@ var _ = Describe("Redis ring", func() {
|
||||
// Ring needs 5 * heartbeat time to detect that node is down.
|
||||
// Give it more to be sure.
|
||||
heartbeat := 100 * time.Millisecond
|
||||
time.Sleep(5*heartbeat + 2*heartbeat)
|
||||
time.Sleep(2 * 5 * heartbeat)
|
||||
|
||||
setRingKeys()
|
||||
|
||||
|
Reference in New Issue
Block a user