From 71ed499c465106db0d1457f19d2cb4bea8b1106e Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Tue, 20 Feb 2018 11:00:19 +0200 Subject: [PATCH] Decrease accurracy --- cluster_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster_test.go b/cluster_test.go index fd21bbe0..076f4b67 100644 --- a/cluster_test.go +++ b/cluster_test.go @@ -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)) } })