diff options
author | Wolfy-J <[email protected]> | 2018-06-23 17:45:52 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-23 17:45:52 +0300 |
commit | 930528c2e524bdc49ef02be9dd9ed89a9d8cb201 (patch) | |
tree | b75cf995235e5318390452c6ee15eab4a28eefc7 /service/http/rpc_test.go | |
parent | 75dd962a0b5fcd120dda12f8544c539c962a6ad6 (diff) |
properly close
Diffstat (limited to 'service/http/rpc_test.go')
-rw-r--r-- | service/http/rpc_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/rpc_test.go b/service/http/rpc_test.go index 00e78d39..4edb7058 100644 --- a/service/http/rpc_test.go +++ b/service/http/rpc_test.go @@ -110,7 +110,7 @@ func Test_RPC_Unix(t *testing.T) { s2, _ := c.Get(rpc.ID) rs := s2.(*rpc.Service) - go func() { assert.NoError(t, c.Serve()) }() + go func() { c.Serve() }() time.Sleep(time.Millisecond * 100) defer c.Stop() |