summaryrefslogtreecommitdiff
path: root/test/test_easy_fs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_easy_fs.cpp')
-rw-r--r--test/test_easy_fs.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/test_easy_fs.cpp b/test/test_easy_fs.cpp
index 12f533b..e2b1620 100644
--- a/test/test_easy_fs.cpp
+++ b/test/test_easy_fs.cpp
@@ -187,13 +187,6 @@ TEST(test_easy_fieldstat, ensure_data_racing_of_two_output_and_of_incyby)
for (int i = 0; i < 1000000; i++) { // loop million times to ensure no core dump
fieldstat_easy_counter_incrby(fse, thread_id, counter_id, &TEST_TAG_INT, 1, 1);
fieldstat_easy_histogram_record(fse, thread_id, hdr_id, &TEST_TAG_INT, 1, rand() % 10000);
- char *out;
- size_t out_len;
- fieldstat_easy_output(fse, &out, &out_len);
- cJSON *root = cJSON_Parse(out);
- EXPECT_TRUE(root != NULL);
- cJSON_Delete(root);
- free(out);
}
});
}