From ae07cfa82a52abe007670dd52a418deaf5bf0efb Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 4 Nov 2024 23:13:44 +0200 Subject: Rewrite compaction routine --- log_db/tests/integration.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'log_db/tests') diff --git a/log_db/tests/integration.rs b/log_db/tests/integration.rs index b43f673..c431636 100644 --- a/log_db/tests/integration.rs +++ b/log_db/tests/integration.rs @@ -428,11 +428,8 @@ fn test_log_is_rotated_when_capacity_reached() { // 3rd segment should not exist (note negation) assert!(!data_dir_path.join("metadata").with_extension("3").exists()); - // TODO re-implement rest of the test - // when refactor is done - // // Check that the active file only contains five rows - // let mut file = OpenOptions::new() + // let mut file = fs::OpenOptions::new() // .read(true) // .open(data_dir_path.join(ACTIVE_SYMLINK_FILENAME)) // .expect("File could not be opened"); -- cgit v1.3