From 4da8d44a6a4c43dbfc4405fb89063e481258fe82 Mon Sep 17 00:00:00 2001 From: DanB Date: Mon, 29 Aug 2016 14:36:47 +0200 Subject: [PATCH] Increase TestCacheExpiry wait time --- cache2go/lruttl_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache2go/lruttl_test.go b/cache2go/lruttl_test.go index 29ea55904..ac601d4be 100644 --- a/cache2go/lruttl_test.go +++ b/cache2go/lruttl_test.go @@ -29,7 +29,7 @@ func TestCacheExpire(t *testing.T) { if !ok || b == nil || b != a { t.Error("Error retriving data from cache", b) } - time.Sleep(10 * time.Millisecond) + time.Sleep(20 * time.Millisecond) b, ok = cache.Get("mama") if ok || b != nil { t.Error("Error expiring data from cache", b)