diff options
| author | chenzizhan <[email protected]> | 2024-07-17 10:35:24 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2024-07-17 10:35:24 +0800 |
| commit | 6595cbbde1280b6c7d3c445697e39aa18fa9741f (patch) | |
| tree | 0fe9af32b13926b6aa8682337b500012ddecafca /test/test_exporter_json.cpp | |
| parent | c488da1f8346baf8d5a0260da9c5934c8dfdfbef (diff) | |
primary metric in spreadsketch/heavykeeper
Diffstat (limited to 'test/test_exporter_json.cpp')
| -rw-r--r-- | test/test_exporter_json.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_exporter_json.cpp b/test/test_exporter_json.cpp index 53dbabc..45a05cf 100644 --- a/test/test_exporter_json.cpp +++ b/test/test_exporter_json.cpp @@ -84,7 +84,7 @@ void test_check_if_metric_gauge_correct(cJSON *metric_obj, const char *name) { char *blob_gauge_benchmark = NULL; size_t size_dummy = 0; - hyperloglog_serialize_for_networking(g_hll_standard, &blob_gauge_benchmark, &size_dummy); + hyperloglog_serialize_into_base64(g_hll_standard, &blob_gauge_benchmark, &size_dummy); cJSON *gauge_obj = cJSON_GetObjectItem(metric_obj, name); EXPECT_NE(gauge_obj, nullptr); |
