Decrease accurracy

This commit is contained in:
Vladimir Mihailenco 2018-02-20 11:00:19 +02:00
parent 4e89aeeae4
commit 71ed499c46
1 changed files with 1 additions and 1 deletions

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))
}
})