summaryrefslogtreecommitdiffstats
path: root/daemon/unit_test.h
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2022-07-11 20:40:26 +0300
committerGitHub <noreply@github.com>2022-07-11 20:40:26 +0300
commit87e9700b2fb93731154eb59cbb53c69e55fbcc6b (patch)
tree50752e1a96f9c3d982834bf1212f16ecba5f9768 /daemon/unit_test.h
parent0c954d2257fe3f87cb928fbc35841d07ce3a3fea (diff)
Detect stored metric size by page type (#13334)
* Report unknown page only once Get metric storage size by the page type Verify validity of the page and skip problematic ones * Change PAGE_SIZE to PAGE_POINT_SIZE_BYTES * Add bitmap256 and unittests * Fix unit test tier_page_type array page_type_size arrays * Add another counter to not rely on uint8_t overflow to stop the test loop
Diffstat (limited to 'daemon/unit_test.h')
-rw-r--r--daemon/unit_test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/unit_test.h b/daemon/unit_test.h
index 6a7a966c3e..2d2533afed 100644
--- a/daemon/unit_test.h
+++ b/daemon/unit_test.h
@@ -10,6 +10,7 @@ extern int unit_test_str2ld(void);
extern int unit_test_buffer(void);
extern int unit_test_static_threads(void);
extern int test_sqlite(void);
+extern int unit_test_bitmap256(void);
#ifdef ENABLE_DBENGINE
extern int test_dbengine(void);
extern void generate_dbengine_dataset(unsigned history_seconds);