Skip to content

Commit

Permalink
test/pprof: replace 5s to 5 to reduce test cost time (#7939)
Browse files Browse the repository at this point in the history
ref #7930

reduce 30s to 5s

Signed-off-by: husharp <jinhao.hu@pingcap.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
  • Loading branch information
HuSharp and ti-chi-bot[bot] authored Mar 19, 2024
1 parent 1eeb760 commit 3fe806a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/pprof_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (suite *profTestSuite) TearDownSuite() {

func (suite *profTestSuite) TestGetZip() {
re := suite.Require()
rsp, err := testDialClient.Get(suite.urlPrefix + "/pprof/zip?" + "seconds=5s")
rsp, err := testDialClient.Get(suite.urlPrefix + "/pprof/zip?" + "seconds=5")
re.NoError(err)
defer rsp.Body.Close()
body, err := io.ReadAll(rsp.Body)
Expand Down

0 comments on commit 3fe806a

Please sign in to comment.