Skip to content

Commit

Permalink
remove client close
Browse files Browse the repository at this point in the history
Signed-off-by: husharp <jinhao.hu@pingcap.com>
  • Loading branch information
HuSharp committed Jan 2, 2024
1 parent f89b164 commit 3972b2f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/dashboard/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
"context"
"encoding/json"
"fmt"
"github.com/tikv/pd/tools/pd-ctl/pdctl/command"
"io"
"net/http"
"testing"
Expand Down Expand Up @@ -66,9 +65,6 @@ func (suite *dashboardTestSuite) SetupSuite() {
func (suite *dashboardTestSuite) TearDownSuite() {
suite.cancel()
suite.httpClient.CloseIdleConnections()
if command.PDCli != nil {
command.PDCli.Close()
}
dashboard.SetCheckInterval(time.Second)
}

Expand Down

0 comments on commit 3972b2f

Please sign in to comment.