diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2024-11-04 23:13:44 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-11-05 22:08:51 +0200 |
| commit | ae07cfa82a52abe007670dd52a418deaf5bf0efb (patch) | |
| tree | bf14226d6af2196b8593a97879e33a9429308706 /log_db/tests | |
| parent | 1086c414ebb6b8f30c3840ec73e3d48b0fd44339 (diff) | |
Rewrite compaction routine
Diffstat (limited to 'log_db/tests')
| -rw-r--r-- | log_db/tests/integration.rs | 5 |
1 files changed, 1 insertions, 4 deletions
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"); |
