diff options
author | John Cai <jcai@gitlab.com> | 2021-10-07 19:05:54 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2021-10-07 19:05:54 +0300 |
commit | 739c13336ca5ed26927bccbc814c903ba40cfc9f (patch) | |
tree | 2beb0079f0ca4ea380216093088d95cbbedbc456 | |
parent | 043bb6e66fa839296d76d5105756a005b2613808 (diff) |
Increase time disk cache test has to clean upjc-fix-flaky-diskcache-test
-rw-r--r-- | internal/streamcache/cache_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/streamcache/cache_test.go b/internal/streamcache/cache_test.go index f562dad42..d9a2c9c53 100644 --- a/internal/streamcache/cache_test.go +++ b/internal/streamcache/cache_test.go @@ -253,7 +253,7 @@ func TestCache_diskCleanup(t *testing.T) { // Unblock cleanup goroutines so they run exactly once close(timerCh) // Give them time to do their work - time.Sleep(10 * time.Millisecond) + time.Sleep(100 * time.Millisecond) // File and index entry should have been removed by cleanup goroutines. requireCacheFiles(t, tmp, 0) |