diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-17 14:17:39 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-17 14:17:39 +0000 |
commit | 540e0ec01382a23221f0e8e359e756b15c1216f7 (patch) | |
tree | 5329613070542403fb48803deff1c0b5ea19df2b /service/rpc/config_test.go | |
parent | ec4824c60f51254b91fd39bc5b32a74640ff0fd9 (diff) | |
parent | 19c1f0e199b78c4f4b660c794bbbe5bd4fca58a5 (diff) |
Merge #304
304: remove windows check from sockets tests r=48d90782 a=48d90782
resolves #303
Co-authored-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'service/rpc/config_test.go')
-rw-r--r-- | service/rpc/config_test.go | 17 |
1 files changed, 0 insertions, 17 deletions
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) |