Skip to content

Commit

Permalink
test: increase the test code coverage with client
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Nov 19, 2022
1 parent 14f98ae commit 71494b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,11 @@ func testServeWithGnetClient(t *testing.T, network, addr string, reuseport, reus
WithTicker(true),
)
assert.NoError(t, err)

err = ts.client.Start()
assert.NoError(t, err)
defer ts.client.Stop()

err = Run(ts,
network+"://"+addr,
WithLockOSThread(async),
Expand Down

0 comments on commit 71494b7

Please sign in to comment.