From 930528c2e524bdc49ef02be9dd9ed89a9d8cb201 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sat, 23 Jun 2018 17:45:52 +0300 Subject: properly close --- service/http/rpc_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/http/rpc_test.go') 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() -- cgit v1.2.3