Commit 684ad039 authored by Georgi N. Georgiev's avatar Georgi N. Georgiev Committed by Craig Squire

Fix TestScanHandlesCancelledContext having a WaitGroup without a delta

parent f9d722c6
Pipeline #128952096 passed with stages
in 35 minutes and 3 seconds
......@@ -585,6 +585,7 @@ func TestScanHandlesCancelledContext(t *testing.T) {
cancel()
scanner, ch := processor.scan(ctx, logsToReadCloser(log{}))
var wg sync.WaitGroup
wg.Add(1)
go func() {
defer wg.Done()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment