Skip to content

Commit 3b4269b

Browse files
committed
fix local_test.go
1 parent 86c7586 commit 3b4269b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/compiler/storage/local_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func TestLocalStorage_GetItem(t *testing.T) {
3030
// Start trash collector in background
3131
ctx, cancelFunc := context.WithCancel(context.Background())
3232
cleanInterval := time.Second * 2
33-
go s.StartCleaner(ctx, cleanInterval)
33+
go s.StartCleaner(ctx, cleanInterval, nil)
3434
defer cancelFunc()
3535
runtime.Gosched() // Ask Go to switch to cleaner goroutine
3636
r.True(s.gcRun.IsSet(), "gc start flag not true")

0 commit comments

Comments
 (0)