1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
From: Shengjing Zhu <i@zhsj.me>
Date: Thu, 7 Sep 2017 14:41:40 +0800
Subject: Disable network tests
Signed-off-by: Shengjing Zhu <i@zhsj.me>
---
clientconn_test.go | 2 ++
1 file changed, 2 insertions(+)
--- a/clientconn_test.go
+++ b/clientconn_test.go
@@ -334,6 +334,7 @@
}
func TestDialTimeout(t *testing.T) {
+ t.Skip("Disable test that accesses the network.")
defer leakcheck.Check(t)
conn, err := Dial("passthrough:///Non-Existent.Server:80", WithTimeout(time.Millisecond), WithBlock(), WithInsecure())
if err == nil {
@@ -345,6 +346,7 @@
}
func TestTLSDialTimeout(t *testing.T) {
+ t.Skip("Disable test that accesses the network.")
defer leakcheck.Check(t)
creds, err := credentials.NewClientTLSFromFile(testdata.Path("ca.pem"), "x.test.youtube.com")
if err != nil {
|