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

Function e2e_robust_test

tests/e2e/e2etest.cc:972–994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

970}
971
972void 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
996int main()
997{

Callers 1

mainFunction · 0.85

Calls 3

memleak_startFunction · 0.85
e2e_robust_patternFunction · 0.85
memleak_endFunction · 0.85

Tested by

no test coverage detected