| 970 | } |
| 971 | |
| 972 | void e2e_robust_test() |
| 973 | { |
| 974 | TEST_INIT(); |
| 975 | memleak_start(); |
| 976 | |
| 977 | randomize(); |
| 978 | fdb_config fconfig = fdb_get_default_config(); |
| 979 | fconfig.wal_threshold = 1024; |
| 980 | fconfig.flags = FDB_OPEN_FLAG_CREATE; |
| 981 | fconfig.compaction_mode=FDB_COMPACTION_AUTO; |
| 982 | fconfig.durability_opt = FDB_DRB_ASYNC; |
| 983 | fconfig.seqtree_opt = FDB_SEQTREE_USE; // enable seqtree since get_byseq |
| 984 | // to allow iterators to validate docs across async compaction |
| 985 | // specify purging_interval so deleted docs are not dropped by |
| 986 | // compactor immediately.. |
| 987 | fconfig.purging_interval = 80; |
| 988 | |
| 989 | // test |
| 990 | e2e_robust_pattern(fconfig); |
| 991 | |
| 992 | memleak_end(); |
| 993 | TEST_RESULT("TEST: e2e robust test"); |
| 994 | } |
| 995 | |
| 996 | int main() |
| 997 | { |
no test coverage detected