Commit a9b799a2 authored by adrienpetel's avatar adrienpetel Committed by Brad Fitzpatrick

net: mark tests with retry as parallel

Fixes #24580

Change-Id: I35e2ff145f251485fd3cfd7b03b6f3fae8d97ad6
Reviewed-on: https://go-review.googlesource.com/103975Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 9b9bc684
...@@ -63,6 +63,7 @@ var lookupGoogleSRVTests = []struct { ...@@ -63,6 +63,7 @@ var lookupGoogleSRVTests = []struct {
var backoffDuration = [...]time.Duration{time.Second, 5 * time.Second, 30 * time.Second} var backoffDuration = [...]time.Duration{time.Second, 5 * time.Second, 30 * time.Second}
func TestLookupGoogleSRV(t *testing.T) { func TestLookupGoogleSRV(t *testing.T) {
t.Parallel()
if testenv.Builder() == "" { if testenv.Builder() == "" {
testenv.MustHaveExternalNetwork(t) testenv.MustHaveExternalNetwork(t)
} }
...@@ -109,6 +110,7 @@ var lookupGmailMXTests = []struct { ...@@ -109,6 +110,7 @@ var lookupGmailMXTests = []struct {
} }
func TestLookupGmailMX(t *testing.T) { func TestLookupGmailMX(t *testing.T) {
t.Parallel()
if testenv.Builder() == "" { if testenv.Builder() == "" {
testenv.MustHaveExternalNetwork(t) testenv.MustHaveExternalNetwork(t)
} }
...@@ -189,6 +191,7 @@ var lookupGmailTXTTests = []struct { ...@@ -189,6 +191,7 @@ var lookupGmailTXTTests = []struct {
} }
func TestLookupGmailTXT(t *testing.T) { func TestLookupGmailTXT(t *testing.T) {
t.Parallel()
if testenv.Builder() == "" { if testenv.Builder() == "" {
testenv.MustHaveExternalNetwork(t) testenv.MustHaveExternalNetwork(t)
} }
...@@ -298,6 +301,7 @@ var lookupCNAMETests = []struct { ...@@ -298,6 +301,7 @@ var lookupCNAMETests = []struct {
} }
func TestLookupCNAME(t *testing.T) { func TestLookupCNAME(t *testing.T) {
t.Parallel()
if testenv.Builder() == "" { if testenv.Builder() == "" {
testenv.MustHaveExternalNetwork(t) testenv.MustHaveExternalNetwork(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