MCPcopy Create free account
hub / github.com/couchbase/forestdb / e2e_concurrent_scan_test

Function e2e_concurrent_scan_test

tests/e2e/e2etest.cc:949–970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

947
948
949void 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
972void e2e_robust_test()
973{

Callers 1

mainFunction · 0.85

Calls 3

memleak_startFunction · 0.85
memleak_endFunction · 0.85

Tested by

no test coverage detected