diff options
Diffstat (limited to 'service/rpc/service_test.go')
-rw-r--r-- | service/rpc/service_test.go | 2 |
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) |