Skip to content

Commit 69e47f4

Browse files
findleyrgopherbot
authored andcommitted
internal/task: remove arbitrary timeout for TestTagTelemetry
Fixes golang/go#63258 Change-Id: I7b164a7f75b2187a9d7a969b4bee8b4f2d8b87f8 Reviewed-on: https://go-review.googlesource.com/c/build/+/530980 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]> Auto-Submit: Robert Findley <[email protected]>
1 parent 5d3521b commit 69e47f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/task/tagtelemetry_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"context"
99
"fmt"
1010
"testing"
11-
"time"
1211

1312
"golang.org/x/build/internal/workflow"
1413
)
@@ -96,7 +95,7 @@ echo -n %q > config/config.json
9695
t.Fatal(err)
9796
}
9897

99-
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
98+
ctx, cancel := context.WithCancel(context.Background())
10099
defer cancel()
101100

102101
outputs, err := w.Run(ctx, &verboseListener{t: t})

0 commit comments

Comments
 (0)