Skip to content

Commit 1a4f82c

Browse files
committed
Revert Plan9 workaround
1 parent 0983034 commit 1a4f82c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/net/http/serve_test.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4562,11 +4562,7 @@ func testServerEmptyBodyRace(t *testing.T, mode testMode) {
45624562
if err != nil {
45634563
// Try to deflake spurious "connection reset by peer" under load.
45644564
// See golang.org/issue/22540.
4565-
deflake := 10 * time.Millisecond
4566-
if runtime.GOOS == "plan9" {
4567-
deflake = 100 * time.Millisecond
4568-
}
4569-
time.Sleep(deflake)
4565+
time.Sleep(10 * time.Millisecond)
45704566
res, err = cst.c.Get(cst.ts.URL)
45714567
if err != nil {
45724568
t.Error(err)

0 commit comments

Comments
 (0)