diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2024-11-09 22:30:51 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-11-10 00:02:32 +0200 |
| commit | bfa8fab553eab1b0daa062010fb2ccf5d365d21f (patch) | |
| tree | ebbb5575dcf361c176dc721a4d1c2b4183de90fa /log_db/tests | |
| parent | 2975980717626b12eb959c1ecd93038b5be1d7c6 (diff) | |
Refresh indexes on read or at maintenance
Diffstat (limited to 'log_db/tests')
| -rw-r--r-- | log_db/tests/integration.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/log_db/tests/integration.rs b/log_db/tests/integration.rs index fa81542..f178738 100644 --- a/log_db/tests/integration.rs +++ b/log_db/tests/integration.rs @@ -207,7 +207,6 @@ fn test_upsert_fails_on_invalid_value_type() { } #[test] -#[ignore] fn test_upsert_and_get_from_secondary_memtable() { let data_dir = tmp_dir(); let mut db = DB::configure() @@ -244,10 +243,6 @@ fn test_upsert_and_get_from_secondary_memtable() { ]); db.upsert(&record2).unwrap(); - // Delete the DB so that any results must come from a memtable - fs::remove_file(Path::new(&data_dir).join(ACTIVE_SYMLINK_FILENAME)) - .expect("Failed to delete the DB log file"); - // There should be 2 Johns let johns = db .find_all(&Field::Name, &Value::String("John".to_string())) |
