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:
parent
4e89aeeae4
commit
71ed499c46
@ -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))
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user