- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for HasExternalNetwork (0.19 sec)
-
src/net/platform_test.go
case *UDPAddr: ip = addr.IP wildcard = addr.isWildcard() case *IPAddr: ip = addr.IP wildcard = addr.isWildcard() } // Test wildcard IP addresses. if wildcard && !testenv.HasExternalNetwork() { return false } // Test functionality of IPv4 communication using AF_INET and // IPv6 communication using AF_INET6 sockets. if !supportsIPv4() && ip.To4() != nil { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 4.3K bytes - Viewed (0) -
src/crypto/x509/hybrid_pool_test.go
func TestHybridPool(t *testing.T) { t.Parallel() if !(runtime.GOOS == "windows" || runtime.GOOS == "darwin" || runtime.GOOS == "ios") { t.Skipf("platform verifier not available on %s", runtime.GOOS) } if !testenv.HasExternalNetwork() { t.Skip() } if runtime.GOOS == "windows" { // NOTE(#51599): on the Windows builders we sometimes see that the state // of the root pool is not fully initialized, causing an expected
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:48:11 UTC 2024 - 3.7K bytes - Viewed (0) -
src/internal/testenv/testenv.go
func HasSrc() bool { switch runtime.GOOS { case "ios": return false } return true } // HasExternalNetwork reports whether the current system can use // external (non-localhost) networks. func HasExternalNetwork() bool { return !testing.Short() && runtime.GOOS != "js" && runtime.GOOS != "wasip1" } // MustHaveExternalNetwork checks that the current system can use
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 15.7K bytes - Viewed (0) -
src/cmd/go/scriptconds_test.go
} var scriptNetEnabled sync.Map // testing.TB → already enabled func hasNet(s *script.State, host string) (bool, error) { if !testenv.HasExternalNetwork() { return false, nil } // TODO(bcmills): Add a flag or environment variable to allow skipping tests // for specific hosts and/or skipping all net tests except for specific hosts.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.4K bytes - Viewed (0)