mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
net/http: remove a flag accidentally submitted in CL 121419
I thought I removed this but failed to amend it to my commit before submitting. Change-Id: I2d687d91f4de72251548faa700006af0fea503af Reviewed-on: https://go-review.googlesource.com/121615 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
This commit is contained in:
parent
62d270e0a4
commit
d472055a39
1 changed files with 2 additions and 5 deletions
|
|
@ -14,7 +14,6 @@ import (
|
|||
"crypto/tls"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"flag"
|
||||
"fmt"
|
||||
"internal/testenv"
|
||||
"io"
|
||||
|
|
@ -5563,11 +5562,9 @@ func testServerShutdown(t *testing.T, h2 bool) {
|
|||
}
|
||||
}
|
||||
|
||||
var slowTests = flag.Bool("slow", false, "run slow tests")
|
||||
|
||||
func TestServerShutdownStateNew(t *testing.T) {
|
||||
if !*slowTests {
|
||||
t.Skip("skipping slow test without -slow flag")
|
||||
if testing.Short() {
|
||||
t.Skip("test takes 5-6 seconds; skipping in short mode")
|
||||
}
|
||||
setParallel(t)
|
||||
defer afterTest(t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue