Skip to content

Commit

Permalink
test: make TestDispatchClientProtocol41 stable (#18414)
Browse files Browse the repository at this point in the history
  • Loading branch information
lysu authored Jul 7, 2020
1 parent 6fae78d commit 75b254c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/conn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,10 +428,11 @@ func (ts *ConnTestSuite) testDispatch(c *C, inputs []dispatchInput, capability u
var outBuffer bytes.Buffer
tidbdrv := NewTiDBDriver(ts.store)
cfg := config.NewConfig()
cfg.Port = 4005
cfg.Port = genPort()
cfg.Status.ReportStatus = false
server, err := NewServer(cfg, tidbdrv)
c.Assert(err, IsNil)
defer server.Close()

cc := &clientConn{
connectionID: 1,
Expand Down

0 comments on commit 75b254c

Please sign in to comment.