From 5f70f7b6fe4886b123f2d2d4da3fb445aaf3098a Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Tue, 5 Nov 2024 18:53:33 +0800 Subject: [PATCH] test: test this feature for client --- client_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client_test.go b/client_test.go index 76df02ac5..8793293f6 100644 --- a/client_test.go +++ b/client_test.go @@ -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),