| 947 | |
| 948 | |
| 949 | void e2e_concurrent_scan_test() |
| 950 | { |
| 951 | TEST_INIT(); |
| 952 | memleak_start(); |
| 953 | |
| 954 | randomize(); |
| 955 | fdb_config fconfig = fdb_get_default_config(); |
| 956 | fconfig.wal_threshold = 1024; |
| 957 | fconfig.flags = FDB_OPEN_FLAG_CREATE; |
| 958 | fconfig.compaction_mode=FDB_COMPACTION_AUTO; |
| 959 | fconfig.durability_opt = FDB_DRB_ASYNC; |
| 960 | fconfig.purging_interval = 30; // retain deleted docs for iteration |
| 961 | fconfig.seqtree_opt = FDB_SEQTREE_USE; // enable seqtree since get_byseq |
| 962 | |
| 963 | // test |
| 964 | e2e_concurrent_scan_pattern(3, 5, 5, fconfig, true); |
| 965 | // normal_commit |
| 966 | e2e_concurrent_scan_pattern(3, 5, 5, fconfig, false); |
| 967 | |
| 968 | memleak_end(); |
| 969 | TEST_RESULT("TEST: e2e concurrent scan"); |
| 970 | } |
| 971 | |
| 972 | void e2e_robust_test() |
| 973 | { |
no test coverage detected