Skip to content

Commit

Permalink
test: test this feature for client
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Nov 5, 2024
1 parent e74cc08 commit 5f70f7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,8 @@ func runClient(t *testing.T, network, addr string, conf *testConf) {
clientEV := &clientEvents{tester: t, packetLen: streamLen, svr: ts}
ts.client, err = NewClient(
clientEV,
WithEdgeTriggeredIO(conf.et),
WithEdgeTriggeredIOChunk(conf.etChunk),
WithTCPNoDelay(TCPNoDelay),
WithLockOSThread(true),
WithTicker(true),
Expand Down

0 comments on commit 5f70f7b

Please sign in to comment.