Skip to content

Commit

Permalink
increase wait time in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan.rieckhof committed Aug 23, 2024
1 parent 7977e66 commit 7c4e94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cache/testsuite/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
})
Expand Down

0 comments on commit 7c4e94d

Please sign in to comment.