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:
Brad Fitzpatrick 2018-06-29 14:56:45 +00:00
parent 62d270e0a4
commit d472055a39

View file

@ -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)