1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Increase test timeout.

This commit is contained in:
Vladimir Mihailenco
2015-11-21 10:20:01 +02:00
parent b792d8a4cf
commit 98414ea72a
2 changed files with 2 additions and 2 deletions

View File

@ -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 + heartbeat)
time.Sleep(5*heartbeat + 2*heartbeat)
setRingKeys()