summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server_config_test.go2
-rw-r--r--socket_factory_test.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/server_config_test.go b/server_config_test.go
index ba226b00..ebdbcac4 100644
--- a/server_config_test.go
+++ b/server_config_test.go
@@ -31,7 +31,7 @@ func Test_ServerConfig_SocketFactory(t *testing.T) {
assert.NoError(t, err)
assert.IsType(t, &SocketFactory{}, f)
assert.Equal(t, "tcp", f.(*SocketFactory).ls.Addr().Network(), )
- assert.Equal(t, "[::]:9000", f.(*SocketFactory).ls.Addr().String())
+ assert.Equal(t, "[::]:9111", f.(*SocketFactory).ls.Addr().String())
cfg = &ServerConfig{Relay: "tcp://localhost:9111"}
f, err = cfg.makeFactory()
diff --git a/socket_factory_test.go b/socket_factory_test.go
index f6b1350c..214a4851 100644
--- a/socket_factory_test.go
+++ b/socket_factory_test.go
@@ -373,7 +373,7 @@ func Benchmark_Tcp_Worker_ExecEcho(b *testing.B) {
}
func Benchmark_Unix_SpawnWorker_Stop(b *testing.B) {
- if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
+ if runtime.GOOS == "windows" {
b.Skip("not supported on " + runtime.GOOS)
}
@@ -400,7 +400,7 @@ func Benchmark_Unix_SpawnWorker_Stop(b *testing.B) {
}
func Benchmark_Unix_Worker_ExecEcho(b *testing.B) {
- if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
+ if runtime.GOOS == "windows" {
b.Skip("not supported on " + runtime.GOOS)
}