| 906 | } |
| 907 | |
| 908 | void e2e_index_normal_commit_autocompact_test() |
| 909 | { |
| 910 | |
| 911 | TEST_INIT(); |
| 912 | memleak_start(); |
| 913 | |
| 914 | randomize(); |
| 915 | // opts |
| 916 | fdb_config fconfig = fdb_get_default_config(); |
| 917 | fconfig.wal_threshold = 1024; |
| 918 | fconfig.flags = FDB_OPEN_FLAG_CREATE; |
| 919 | fconfig.durability_opt = FDB_DRB_NONE; |
| 920 | fconfig.compaction_mode=FDB_COMPACTION_AUTO; |
| 921 | fconfig.seqtree_opt = FDB_SEQTREE_USE; // enable seqtree since get_byseq |
| 922 | |
| 923 | // test |
| 924 | e2e_kvs_index_pattern(2, fconfig, true, false); |
| 925 | |
| 926 | memleak_end(); |
| 927 | TEST_RESULT("TEST: e2e index normal commit autocompact test"); |
| 928 | } |
| 929 | |
| 930 | void e2e_async_manual_compact_test() |
| 931 | { |
no test coverage detected