Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(459)

Unified Diff: src/pkg/net/unicast_test.go

Issue 6209072: code review 6209072: net: avoid the Mac firewall (again) (Closed)
Patch Set: diff -r 9942561a3fe2 https://code.google.com/p/go/ Created 12 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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")
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b