diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/reload/config_test.go | 2 | ||||
-rw-r--r-- | service/rpc/config_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/service/reload/config_test.go b/service/reload/config_test.go index b7e6e669..600975d3 100644 --- a/service/reload/config_test.go +++ b/service/reload/config_test.go @@ -27,7 +27,7 @@ func Test_Config_Valid(t *testing.T) { func Test_Fake_ServiceConfig(t *testing.T) { services := make(map[string]ServiceConfig) cfg := &Config{ - Interval: time.Second, + Interval: time.Microsecond, Patterns: nil, Services: services, } diff --git a/service/rpc/config_test.go b/service/rpc/config_test.go index c65e7415..623347ed 100644 --- a/service/rpc/config_test.go +++ b/service/rpc/config_test.go @@ -48,7 +48,7 @@ func TestConfig_Listener(t *testing.T) { }() assert.Equal(t, "tcp", ln.Addr().Network()) - assert.Equal(t, "[::]:18001", ln.Addr().String()) + assert.Equal(t, "0.0.0.0:18001", ln.Addr().String()) } func TestConfig_ListenerUnix(t *testing.T) { |