summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2023-09-18 18:21:04 +0800
committerchenzizhan <[email protected]>2023-09-18 18:21:04 +0800
commit54f0acdc824bdb9ca282d2d64f953c519539f975 (patch)
tree762fc5d98bb8192d44e4a39784c706562dc8e9f9
parent61196b6632112bc770d85da14aa6e28e4d408e5f (diff)
fix ci
-rw-r--r--test/test_metric_histogram.cpp4
-rw-r--r--test/test_metric_hll.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/test_metric_histogram.cpp b/test/test_metric_histogram.cpp
index 006a0ca..73d78b9 100644
--- a/test/test_metric_histogram.cpp
+++ b/test/test_metric_histogram.cpp
@@ -165,7 +165,7 @@ TEST(metric_test_histogram, add_with_wrong_metric_id_expecting_fail)
}
extern "C" {
- bool is_hll(char *buf);
+ bool fieldstat_is_hll(char *buf);
}
TEST(metric_test_histogram, encode_decode_b64)
@@ -180,7 +180,7 @@ TEST(metric_test_histogram, encode_decode_b64)
size_t b64_len = 0;
histogram_encode_into_b64(h, &b64, &b64_len);
- EXPECT_FALSE(is_hll(b64));
+ EXPECT_FALSE(fieldstat_is_hll(b64));
struct hdr_histogram *h2 = histogram_decode_from_b64(b64, b64_len);
diff --git a/test/test_metric_hll.cpp b/test/test_metric_hll.cpp
index d886810..f09052a 100644
--- a/test/test_metric_hll.cpp
+++ b/test/test_metric_hll.cpp
@@ -168,7 +168,7 @@ TEST(metric_test_hll, serialize_with_b64_and_query)
extern "C" {
void *hll_base64_decode(char *buf);
- bool is_hll(char *buf);
+ bool fieldstat_is_hll(char *buf);
}
TEST(metric_test_hll, serialize_with_b64_and_query_with_python_api)
{
@@ -181,7 +181,7 @@ TEST(metric_test_hll, serialize_with_b64_and_query_with_python_api)
size_t blob_len = 0;
fieldstat_get_serialized_blob(instance, 0, 0, 0, &blob, &blob_len);
- bool flag = is_hll(blob);
+ bool flag = fieldstat_is_hll(blob);
EXPECT_EQ(flag, true);
void *hll_from_blob = hll_base64_decode(blob);