Skip to content

Commit

Permalink
internal/poll: cast off the last reference of SplicePipe in test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
panjf2000 authored and ianlancetaylor committed May 7, 2021
1 parent d2b0311 commit 832c70e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/internal/poll/splice_linux_test.go
Expand Up @@ -46,6 +46,7 @@ func TestSplicePipePool(t *testing.T) {
poll.PutPipe(p)
}
ps = nil
p = nil

// Exploit the timeout of "go test" as a timer for the subsequent verification.
timeout := 5 * time.Minute
Expand Down

0 comments on commit 832c70e

Please sign in to comment.