summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author郑桐 <yuesen.xys@alibaba-inc.com>2022-01-04 18:20:24 +0800
committerYuxuan 'fishy' Wang <fishywang@gmail.com>2022-02-16 14:14:40 -1000
commit2fa907e84b5bf29c263c4cde657e99c2e894562f (patch)
tree9ade21a35e74b56ca0dbcf8942937ffad874a9fb /test
parent6266dc0777e54b169e5c2a41541d586078633195 (diff)
downloadthrift-2fa907e84b5bf29c263c4cde657e99c2e894562f.tar.gz
THRIFT-5495: close client when shutdown server in go lib
Client: go
Diffstat (limited to 'test')
-rw-r--r--test/go/src/common/clientserver_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/go/src/common/clientserver_test.go b/test/go/src/common/clientserver_test.go
index 609086bad..64b326a81 100644
--- a/test/go/src/common/clientserver_test.go
+++ b/test/go/src/common/clientserver_test.go
@@ -75,7 +75,7 @@ func doUnit(t *testing.T, unit *test_unit) {
t.Errorf("Unable to start server: %v", err)
return
}
- go server.AcceptLoop()
+ go server.Serve()
defer server.Stop()
client, trans, err := StartClient(unit.host, unit.port, unit.domain_socket, unit.transport, unit.protocol, unit.ssl)
if err != nil {