From 7c4e94d84b7aeaf571fc72b26165e9c017ac4358 Mon Sep 17 00:00:00 2001 From: "stefan.rieckhof" Date: Fri, 23 Aug 2024 11:18:13 +0200 Subject: [PATCH] increase wait time in integration test --- pkg/cache/testsuite/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cache/testsuite/cache.go b/pkg/cache/testsuite/cache.go index fe47fa8cd..dfbc282dd 100644 --- a/pkg/cache/testsuite/cache.go +++ b/pkg/cache/testsuite/cache.go @@ -116,7 +116,7 @@ func (suite *CacheTestSuite) TestGet() { suite.Run("returns not found if ttl ran out", func() { _ = c.Put(ctx, "foo", []byte("bar"), 1) // minimum ttl - <-time.After(1) + <-time.After(2) _, _, err := c.Get(ctx, "foo") suite.True(errors.Is(err, cache.ErrNotFound)) })