mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
1d5298d46a
commit
a62c08734f
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue