summaryrefslogtreecommitdiff
path: root/service/rpc
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-07-07 19:23:15 -0700
committerWolfy-J <[email protected]>2018-07-07 19:23:15 -0700
commit98f7ce699b559afd74d4e9d607e64b9a8367d762 (patch)
treea1553b7ed55109a1158f92dbf0eae5520754c5f7 /service/rpc
parentafde365ba6210569b7d48dec0c07434a7f8a1fd8 (diff)
attributes support
Diffstat (limited to 'service/rpc')
-rw-r--r--service/rpc/service_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/rpc/service_test.go b/service/rpc/service_test.go
index ce85d52f..d4734bb5 100644
--- a/service/rpc/service_test.go
+++ b/service/rpc/service_test.go
@@ -84,8 +84,8 @@ func Test_Serve_Client(t *testing.T) {
assert.NoError(t, s.Register("test", &testService{}))
go func() { assert.NoError(t, s.Serve()) }()
-
time.Sleep(time.Millisecond)
+
client, err := s.Client()
assert.NotNil(t, client)
assert.NoError(t, err)