1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
--- a/clientconn_test.go
+++ b/clientconn_test.go
@@ -46,6 +46,7 @@
const tlsDir = "testdata/"
func TestDialTimeout(t *testing.T) {
+ t.Skip("Disable test that accesses the network.")
conn, err := Dial("Non-Existent.Server:80", WithTimeout(time.Millisecond), WithBlock(), WithInsecure())
if err == nil {
conn.Close()
@@ -56,6 +57,7 @@
}
func TestTLSDialTimeout(t *testing.T) {
+ t.Skip("Disable test that accesses the network.")
creds, err := credentials.NewClientTLSFromFile(tlsDir+"ca.pem", "x.test.youtube.com")
if err != nil {
t.Fatalf("Failed to create credentials %v", err)
|