1
0
mirror of https://github.com/golang/go synced 2024-11-26 06:38:00 -07:00

internal/poll: cast off the last reference of SplicePipe in test

Updates #45059

Change-Id: I9f377abcc7b77136ae6cf4896b968f73c758b559
Reviewed-on: https://go-review.googlesource.com/c/go/+/317510
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
Andy Pan 2021-05-06 23:15:37 +08:00 committed by Ian Lance Taylor
parent d2b03111c4
commit 832c70e33d

View File

@ -46,6 +46,7 @@ func TestSplicePipePool(t *testing.T) {
poll.PutPipe(p) poll.PutPipe(p)
} }
ps = nil ps = nil
p = nil
// Exploit the timeout of "go test" as a timer for the subsequent verification. // Exploit the timeout of "go test" as a timer for the subsequent verification.
timeout := 5 * time.Minute timeout := 5 * time.Minute