diff options
author | Valery Piashchynski <[email protected]> | 2020-04-17 16:42:27 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-04-17 16:42:27 +0300 |
commit | 19c1f0e199b78c4f4b660c794bbbe5bd4fca58a5 (patch) | |
tree | 5329613070542403fb48803deff1c0b5ea19df2b /service | |
parent | ec4824c60f51254b91fd39bc5b32a74640ff0fd9 (diff) |
remove windows check from sockets tests
Diffstat (limited to 'service')
-rw-r--r-- | service/http/rpc_test.go | 5 | ||||
-rw-r--r-- | service/rpc/config_test.go | 17 |
2 files changed, 0 insertions, 22 deletions
diff --git a/service/http/rpc_test.go b/service/http/rpc_test.go index 9f56e2cd..e57a8699 100644 --- a/service/http/rpc_test.go +++ b/service/http/rpc_test.go @@ -8,7 +8,6 @@ import ( "github.com/spiral/roadrunner/service/rpc" "github.com/stretchr/testify/assert" "os" - "runtime" "strconv" "testing" "time" @@ -81,10 +80,6 @@ func Test_RPC(t *testing.T) { } func Test_RPC_Unix(t *testing.T) { - if runtime.GOOS == "windows" { - t.Skip("not supported on " + runtime.GOOS) - } - logger, _ := test.NewNullLogger() logger.SetLevel(logrus.DebugLevel) diff --git a/service/rpc/config_test.go b/service/rpc/config_test.go index 7a7ca13b..1ecd71b3 100644 --- a/service/rpc/config_test.go +++ b/service/rpc/config_test.go @@ -4,7 +4,6 @@ import ( json "github.com/json-iterator/go" "github.com/spiral/roadrunner/service" "github.com/stretchr/testify/assert" - "runtime" "testing" ) @@ -55,10 +54,6 @@ func TestConfig_Listener(t *testing.T) { } func TestConfig_ListenerUnix(t *testing.T) { - if runtime.GOOS == "windows" { - t.Skip("not supported on " + runtime.GOOS) - } - cfg := &Config{Listen: "unix://file.sock"} ln, err := cfg.Listener() @@ -76,10 +71,6 @@ func TestConfig_ListenerUnix(t *testing.T) { } func Test_Config_Error(t *testing.T) { - if runtime.GOOS == "windows" { - t.Skip("not supported on " + runtime.GOOS) - } - cfg := &Config{Listen: "uni:unix.sock"} ln, err := cfg.Listener() assert.Nil(t, ln) @@ -121,10 +112,6 @@ func TestConfig_Dialer(t *testing.T) { } func TestConfig_DialerUnix(t *testing.T) { - if runtime.GOOS == "windows" { - t.Skip("not supported on " + runtime.GOOS) - } - cfg := &Config{Listen: "unix://file.sock"} ln, _ := cfg.Listener() @@ -150,10 +137,6 @@ func TestConfig_DialerUnix(t *testing.T) { } func Test_Config_DialerError(t *testing.T) { - if runtime.GOOS == "windows" { - t.Skip("not supported on " + runtime.GOOS) - } - cfg := &Config{Listen: "uni:unix.sock"} ln, err := cfg.Dialer() assert.Nil(t, ln) |