aboutsummaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorDamien Neil <dneil@google.com>2021-05-26 15:44:46 -0700
committerDamien Neil <dneil@google.com>2021-05-26 22:54:09 +0000
commita62c08734f8e2fc5333036e3a069a55288d1f674 (patch)
tree634f440b1d2ae3a7a5d2005693776f2ff12ff681 /src/os
parent1d5298d46a695219ab4622ae5aa59898459fd0f5 (diff)
downloadgo-a62c08734f8e2fc5333036e3a069a55288d1f674.tar.gz
go-a62c08734f8e2fc5333036e3a069a55288d1f674.zip
src/os: revert accidentally submitted change
Change-Id: Ib34984a6bd0abc76266e8aac96f9f8ad8ae21d17 Reviewed-on: https://go-review.googlesource.com/c/go/+/322894 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/os')
-rw-r--r--src/os/pipe_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/pipe_test.go b/src/os/pipe_test.go
index b3d5380b8d..b663618502 100644
--- a/src/os/pipe_test.go
+++ b/src/os/pipe_test.go
@@ -462,7 +462,7 @@ func TestFdReadRace(t *testing.T) {
// Give the other goroutine a chance to enter the Read.
// It doesn't matter if this occasionally fails, the test
// will still pass, it just won't test anything.
- //time.Sleep(10 * time.Millisecond)
+ time.Sleep(10 * time.Millisecond)
r.Fd()
// The bug was that Fd would hang until Read timed out.