Commit 823e9d9e authored by Yoni Fogel's avatar Yoni Fogel

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

git-svn-id: file:///svn/toku/tokudb@45310 c7de825b-a66e-492c-adef-691d508d4ae1
parent 85ef1886
...@@ -90,6 +90,13 @@ create_populate_tree(const char *logdir, const char *fname, int n) { ...@@ -90,6 +90,13 @@ create_populate_tree(const char *logdir, const char *fname, int n) {
error = toku_logger_close_rollback(logger, FALSE); error = toku_logger_close_rollback(logger, FALSE);
assert(error == 0); 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); error = toku_logger_close(&logger);
assert(error == 0); 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