Commit 33360c33 authored by Yoni Fogel's avatar Yoni Fogel

refs #5189 Fix more tests that didn't do clean shutdown (so txns could not be restored)

git-svn-id: file:///svn/toku/tokudb@45311 c7de825b-a66e-492c-adef-691d508d4ae1
parent 68d4752c
......@@ -93,6 +93,13 @@ create_populate_tree(const char *logdir, const char *fname, int n) {
assert(error == 0);
error = toku_logger_close_rollback(logger, FALSE);
assert(error == 0);
error = toku_checkpoint(ct, logger, NULL, NULL, NULL, NULL, CLIENT_CHECKPOINT);
assert(error == 0);
error = toku_logger_shutdown(logger);
CKERR(error);
error = toku_logger_close(&logger);
assert(error == 0);
......
......@@ -89,6 +89,11 @@ create_populate_tree(const char *logdir, const char *fname, int n) {
assert(error == 0);
error = toku_logger_close_rollback(logger, FALSE);
assert(error == 0);
error = toku_checkpoint(ct, logger, NULL, NULL, NULL, NULL, CLIENT_CHECKPOINT);
assert(error == 0);
error = toku_logger_shutdown(logger);
CKERR(error);
error = toku_logger_close(&logger);
assert(error == 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment