We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86c7586 commit 3b4269bCopy full SHA for 3b4269b
pkg/compiler/storage/local_test.go
@@ -30,7 +30,7 @@ func TestLocalStorage_GetItem(t *testing.T) {
30
// Start trash collector in background
31
ctx, cancelFunc := context.WithCancel(context.Background())
32
cleanInterval := time.Second * 2
33
- go s.StartCleaner(ctx, cleanInterval)
+ go s.StartCleaner(ctx, cleanInterval, nil)
34
defer cancelFunc()
35
runtime.Gosched() // Ask Go to switch to cleaner goroutine
36
r.True(s.gcRun.IsSet(), "gc start flag not true")
0 commit comments