Index: src/pkg/net/unicast_test.go |
=================================================================== |
--- a/src/pkg/net/unicast_test.go |
+++ b/src/pkg/net/unicast_test.go |
@@ -544,6 +544,11 @@ |
return |
} |
+ if testing.Short() || !*testExternal { |
+ t.Logf("skipping test to avoid external network") |
+ return |
+ } |
+ |
defer func() { |
if recover() != nil { |
t.Fatalf("panicked") |