From 739c13336ca5ed26927bccbc814c903ba40cfc9f Mon Sep 17 00:00:00 2001 From: John Cai Date: Thu, 7 Oct 2021 12:05:54 -0400 Subject: [PATCH] Increase time disk cache test has to clean up --- internal/streamcache/cache_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/streamcache/cache_test.go b/internal/streamcache/cache_test.go index f562dad42ed..d9a2c9c53c0 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) -- GitLab