From 3fe806afe9c66d2bdf0f59d5774a3e858970039d Mon Sep 17 00:00:00 2001 From: Hu# Date: Tue, 19 Mar 2024 15:45:43 +0800 Subject: [PATCH] test/pprof: replace 5s to 5 to reduce test cost time (#7939) ref tikv/pd#7930 reduce 30s to 5s Signed-off-by: husharp Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com> --- server/api/pprof_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/pprof_test.go b/server/api/pprof_test.go index a1acd84dcb6..b43feeab108 100644 --- a/server/api/pprof_test.go +++ b/server/api/pprof_test.go @@ -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)