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

Function e2e_index_normal_commit_autocompact_test

tests/e2e/e2etest.cc:908–928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

906}
907
908void 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
930void e2e_async_manual_compact_test()
931{

Callers 1

mainFunction · 0.85

Calls 3

memleak_startFunction · 0.85
e2e_kvs_index_patternFunction · 0.85
memleak_endFunction · 0.85

Tested by

no test coverage detected