Commit d472055a authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

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: 's avatarDaniel Martí <mvdan@mvdan.cc>
parent 62d270e0
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment