Home
last modified time | relevance | path

Searched refs:kMetric1 (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/test/cpp/server/load_reporter/
Dload_data_store_test.cc86 const grpc::string kMetric1 = "kMetric1"; member in grpc::testing::__anon72ded8250111::LoadDataStoreTest
397 v1.InsertCallMetric(kMetric1, CallMetricValue(3, 2773.2)); in TEST_F()
399 v2.InsertCallMetric(kMetric1, CallMetricValue(7, 25.234)); in TEST_F()
403 v3.InsertCallMetric(kMetric1, CallMetricValue(61, 3465.0)); in TEST_F()
439 EXPECT_EQ(value_for_key1.call_metrics().find(kMetric1)->second.num_calls(), in TEST_F()
440 v1.call_metrics().find(kMetric1)->second.num_calls() + in TEST_F()
441 v3.call_metrics().find(kMetric1)->second.num_calls()); in TEST_F()
443 value_for_key1.call_metrics().find(kMetric1)->second.total_metric_value(), in TEST_F()
444 v1.call_metrics().find(kMetric1)->second.total_metric_value() + in TEST_F()
445 v3.call_metrics().find(kMetric1)->second.total_metric_value()); in TEST_F()
[all …]
Dload_reporter_test.cc122 const grpc::string kMetric1 = "kMetric1"; member in grpc::testing::__anon44978cb20111::LoadReporterTest
401 {{{kClientIp1 + kLbToken1, kHostname1, kUser2, kMetric1}, 1}, in TEST_F()
402 {{kClientIp1 + kLbToken1, kHostname1, kUser2, kMetric1}, 1}, in TEST_F()
410 {{{kClientIp1 + kLbToken1, kHostname1, kUser2, kMetric1}, 1.2}, in TEST_F()
411 {{kClientIp1 + kLbToken1, kHostname1, kUser2, kMetric1}, 1.2}, in TEST_F()
468 {{{kClientIp1 + kLbId2 + kLbTag1, kHostname2, kUser3, kMetric1}, 1}, in TEST_F()
476 {{{kClientIp1 + kLbId2 + kLbTag1, kHostname2, kUser3, kMetric1}, 9.6}, in TEST_F()