Skip to content

Commit 7c5c664

Browse files
committed
net: skip more flaky net tests on flaky net builders
e.g. https://storage.googleapis.com/go-build-log/9b937dd8/linux-arm_df54a25a.log Change-Id: Ic5864c7bd840b4f0c6341f919fcbcd5c708b14e7 Reviewed-on: https://go-review.googlesource.com/22881 Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]>
1 parent a1813ae commit 7c5c664

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/net/lookup_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ func TestLookupGoogleSRV(t *testing.T) {
7070
for _, tt := range lookupGoogleSRVTests {
7171
cname, srvs, err := LookupSRV(tt.service, tt.proto, tt.name)
7272
if err != nil {
73+
testenv.SkipFlakyNet(t)
7374
t.Fatal(err)
7475
}
7576
if len(srvs) == 0 {
@@ -137,6 +138,7 @@ func TestLookupGmailNS(t *testing.T) {
137138
for _, tt := range lookupGmailNSTests {
138139
nss, err := LookupNS(tt.name)
139140
if err != nil {
141+
testenv.SkipFlakyNet(t)
140142
t.Fatal(err)
141143
}
142144
if len(nss) == 0 {

0 commit comments

Comments
 (0)