summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-23 17:45:52 +0300
committerWolfy-J <[email protected]>2018-06-23 17:45:52 +0300
commit930528c2e524bdc49ef02be9dd9ed89a9d8cb201 (patch)
treeb75cf995235e5318390452c6ee15eab4a28eefc7 /service
parent75dd962a0b5fcd120dda12f8544c539c962a6ad6 (diff)
properly close
Diffstat (limited to 'service')
-rw-r--r--service/http/rpc_test.go2
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()