mirror of https://github.com/go-redis/redis.git
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…
Reference in New Issue