Ver código fonte

skip domain socket test on windows

Darien Raymond 7 anos atrás
pai
commit
8070e7d1e2
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      testing/scenarios/transport_test.go

+ 5 - 0
testing/scenarios/transport_test.go

@@ -2,6 +2,7 @@ package scenarios
 
 import (
 	"os"
+	"runtime"
 	"testing"
 	"time"
 
@@ -143,6 +144,10 @@ func TestHttpConnectionHeader(t *testing.T) {
 }
 
 func TestDomainSocket(t *testing.T) {
+	if runtime.GOOS == "windows" {
+		t.Skip("Not supported on windows")
+		return
+	}
 	assert := With(t)
 
 	tcpServer := tcp.Server{