From: adrienpetel Date: Sun, 1 Apr 2018 15:22:02 +0000 (+0400) Subject: net: mark tests with retry as parallel X-Git-Tag: go1.11beta1~1020 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a9b799a22978730f5de2d5bfc99a1dc0acddcae2;p=gostls13.git net: mark tests with retry as parallel Fixes #24580 Change-Id: I35e2ff145f251485fd3cfd7b03b6f3fae8d97ad6 Reviewed-on: https://go-review.googlesource.com/103975 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/net/lookup_test.go b/src/net/lookup_test.go index c2a6477e2e..53f050bd7e 100644 --- a/src/net/lookup_test.go +++ b/src/net/lookup_test.go @@ -63,6 +63,7 @@ var lookupGoogleSRVTests = []struct { var backoffDuration = [...]time.Duration{time.Second, 5 * time.Second, 30 * time.Second} func TestLookupGoogleSRV(t *testing.T) { + t.Parallel() if testenv.Builder() == "" { testenv.MustHaveExternalNetwork(t) } @@ -109,6 +110,7 @@ var lookupGmailMXTests = []struct { } func TestLookupGmailMX(t *testing.T) { + t.Parallel() if testenv.Builder() == "" { testenv.MustHaveExternalNetwork(t) } @@ -189,6 +191,7 @@ var lookupGmailTXTTests = []struct { } func TestLookupGmailTXT(t *testing.T) { + t.Parallel() if testenv.Builder() == "" { testenv.MustHaveExternalNetwork(t) } @@ -298,6 +301,7 @@ var lookupCNAMETests = []struct { } func TestLookupCNAME(t *testing.T) { + t.Parallel() if testenv.Builder() == "" { testenv.MustHaveExternalNetwork(t) }