diff --git a/tests/server/server_test.go b/tests/server/server_test.go index c41ed0f96a6d..dccc5414811e 100644 --- a/tests/server/server_test.go +++ b/tests/server/server_test.go @@ -168,7 +168,7 @@ func TestGRPCRateLimit(t *testing.T) { jsonBody, err := json.Marshal(input) re.NoError(err) err = testutil.CheckPostJSON(tests.TestDialClient, urlPrefix, jsonBody, - testutil.StatusOK(re), testutil.StringContain(re, "QPS rate limiter is changed")) + testutil.StatusOK(re), testutil.StringContain(re, "gRPC limiter is updated")) re.NoError(err) for i := 0; i < 2; i++ { resp, err := grpcPDClient.GetRegion(context.Background(), &pdpb.GetRegionRequest{ @@ -188,7 +188,7 @@ func TestGRPCRateLimit(t *testing.T) { jsonBody, err = json.Marshal(input) re.NoError(err) err = testutil.CheckPostJSON(tests.TestDialClient, urlPrefix, jsonBody, - testutil.StatusOK(re), testutil.StringContain(re, "QPS rate limiter is deleted")) + testutil.StatusOK(re), testutil.StringContain(re, "gRPC limiter is deleted")) re.NoError(err) for i := 0; i < 100; i++ { resp, err := grpcPDClient.GetRegion(context.Background(), &pdpb.GetRegionRequest{