1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-19 07:22:17 +03:00

Decrease accurracy

This commit is contained in:
Vladimir Mihailenco 2018-02-20 11:00:19 +02:00
parent 4e89aeeae4
commit 71ed499c46

View File

@ -345,7 +345,7 @@ var _ = Describe("ClusterClient", func() {
ttl := cmds[(i*2)+1].(*redis.DurationCmd)
dur := time.Duration(i+1) * time.Hour
Expect(ttl.Val()).To(BeNumerically("~", dur, 5*time.Second))
Expect(ttl.Val()).To(BeNumerically("~", dur, 10*time.Second))
}
})