summaryrefslogtreecommitdiff
path: root/test/test_fuzz_test.cpp
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2024-07-15 16:49:06 +0800
committerchenzizhan <[email protected]>2024-07-15 16:49:06 +0800
commit18250bfcca305840c82eb79ad85aae3932565793 (patch)
treef8bd680db7454327ded71be129b2da9460d63ca0 /test/test_fuzz_test.cpp
parente97ea6cc29970f1c31a1a9bb23d2507c88e31b37 (diff)
revert fields_to_key_safe
Diffstat (limited to 'test/test_fuzz_test.cpp')
-rw-r--r--test/test_fuzz_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_fuzz_test.cpp b/test/test_fuzz_test.cpp
index 3b91f68..8989de7 100644
--- a/test/test_fuzz_test.cpp
+++ b/test/test_fuzz_test.cpp
@@ -514,7 +514,7 @@ TEST(Fuzz_test, simple_one_for_perf)
// init cube
for (int i = 0; i < CUBE_NUM; i++) {
shared_tags[i] = new Fieldstat_tag_list_wrapper("shared_tag", i);
- int cube_id = fieldstat_create_cube(master, shared_tags[i]->get_tag(), shared_tags[i]->get_tag_count(), SAMPLING_MODE_TOP_CARDINALITY, CELL_MAX);
+ int cube_id = fieldstat_create_cube(master, shared_tags[i]->get_tag(), shared_tags[i]->get_tag_count(), SAMPLING_MODE_TOPK, CELL_MAX);
EXPECT_EQ(cube_id, i);
fieldstat_register_counter(master, cube_id, "topk");
}
@@ -560,8 +560,8 @@ TEST(Fuzz_test, simple_one_for_perf)
int main(int argc, char *argv[])
{
testing::InitGoogleTest(&argc, argv);
- testing::GTEST_FLAG(filter) = "*spreadsketch";
- // testing::GTEST_FLAG(filter) = "-Fuzz_test.simple_one_for_perf";
+ // testing::GTEST_FLAG(filter) = "*spreadsketch";
+ testing::GTEST_FLAG(filter) = "Fuzz_test.simple_one_for_perf";
return RUN_ALL_TESTS();
} \ No newline at end of file