浏览代码

Skip TestHttpsInsecure test on nacl (#145)

Fixes #144
Alberto Donizetti 7 年前
父节点
当前提交
b17d6e74da
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      internal/driver/fetch_test.go

+ 4
- 0
internal/driver/fetch_test.go 查看文件

@@ -241,6 +241,10 @@ func stubHTTPGet(source string, _ time.Duration) (*http.Response, error) {
241 241
 }
242 242
 
243 243
 func TestHttpsInsecure(t *testing.T) {
244
+	if runtime.GOOS == "nacl" {
245
+		t.Skip("test assumes tcp available")
246
+	}
247
+
244 248
 	baseVars := pprofVariables
245 249
 	pprofVariables = baseVars.makeCopy()
246 250
 	defer func() { pprofVariables = baseVars }()