clean up database file after testing (#5087)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
This commit is contained in:
robinsdan
2023-10-26 02:47:44 +08:00
committed by GitHub
parent df9c295826
commit 6ca14b5178
20 changed files with 109 additions and 51 deletions

View File

@ -86,6 +86,7 @@ where
// Reset DB
let _ = fs::remove_dir_all(bench_db_path);
let db = Arc::try_unwrap(create_test_rw_db_with_path(bench_db_path)).unwrap();
let db = db.into_inner_db();
let mut unsorted_input = unsorted_input.clone();
if scenario_str == "append_all" {