]> Cypherpunks repositories - gostls13.git/commitdiff
net: disable another external network test
authorRuss Cox <rsc@golang.org>
Wed, 7 Mar 2012 05:02:07 +0000 (00:02 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 7 Mar 2012 05:02:07 +0000 (00:02 -0500)
I don't know enough about multicast.
Should this be disabled on all systems, not just Windows?

R=golang-dev
CC=golang-dev
https://golang.org/cl/5754060

src/pkg/net/multicast_test.go

index fe5e8de2f654e215be9e391ef516e52b3baee5d6..67261b1ee775dea2da9f5a9d95656c0034e32535 100644 (file)
@@ -90,6 +90,11 @@ func TestSimpleMulticastListener(t *testing.T) {
        case "plan9":
                t.Logf("skipping test on %q", runtime.GOOS)
                return
+       case "windows":
+               if testing.Short() || !*testExternal {
+                       t.Logf("skipping test on windows to avoid firewall")
+                       return
+               }
        }
 
        for _, tt := range multicastListenerTests {