Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2021-10-07 19:05:54 +0300
committerJohn Cai <jcai@gitlab.com>2021-10-07 19:05:54 +0300
commit739c13336ca5ed26927bccbc814c903ba40cfc9f (patch)
tree2beb0079f0ca4ea380216093088d95cbbedbc456
parent043bb6e66fa839296d76d5105756a005b2613808 (diff)
Increase time disk cache test has to clean upjc-fix-flaky-diskcache-test
-rw-r--r--internal/streamcache/cache_test.go2
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)