Commit 29de815d authored by zhujiashun's avatar zhujiashun

adjust prometheus UT

parent 7100a7ba
......@@ -45,7 +45,7 @@ TEST(PrometheusMetrics, sanity) {
channel_opts.protocol = "http";
ASSERT_EQ(0, channel.Init("127.0.0.1:8614", &channel_opts));
brpc::Controller cntl;
cntl.http_request().uri() = "/metrics";
cntl.http_request().uri() = "/brpc_vars_metrics";
channel.CallMethod(NULL, &cntl, NULL, NULL, NULL);
ASSERT_FALSE(cntl.Failed());
std::string res = cntl.response_attachment().to_string();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment