summaryrefslogtreecommitdiff
path: root/service/metrics/rpc_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-11-03 18:33:41 +0300
committerWolfy-J <[email protected]>2019-11-03 18:33:41 +0300
commitfbf5e2e677b7c1f89114a29acdd834536316ab73 (patch)
tree9144467b4c0e3982ae23210b569226f65080c16c /service/metrics/rpc_test.go
parentb4b1d63e02895e241447b75bbe7f755191c47227 (diff)
- the ability to set custom command producer for roadrunner
- minor improvements in metrics service - List() function for Container to receive names of all available services
Diffstat (limited to 'service/metrics/rpc_test.go')
-rw-r--r--service/metrics/rpc_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/service/metrics/rpc_test.go b/service/metrics/rpc_test.go
index 6d061f1d..136f031c 100644
--- a/service/metrics/rpc_test.go
+++ b/service/metrics/rpc_test.go
@@ -43,10 +43,13 @@ func setup(t *testing.T, metric string, portNum string) (*rpc2.Client, service.C
assert.True(t, s.(*Service).Enabled())
go func() { c.Serve() }()
- time.Sleep(time.Millisecond * 100)
+ time.Sleep(time.Millisecond * 200)
client, err := rs.Client()
assert.NoError(t, err)
+ if err != nil {
+ panic(err)
+ }
return client, c
}