]> Cypherpunks repositories - gostls13.git/commitdiff
src/os: revert accidentally submitted change
authorDamien Neil <dneil@google.com>
Wed, 26 May 2021 22:44:46 +0000 (15:44 -0700)
committerDamien Neil <dneil@google.com>
Wed, 26 May 2021 22:54:09 +0000 (22:54 +0000)
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>
src/os/pipe_test.go

index b3d5380b8daa1623807304f30d55f287418b6a98..b6636185029c5f24a3353c41976843fdd6c110c4 100644 (file)
@@ -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.