diff options
Diffstat (limited to 'log_db/tests')
| -rw-r--r-- | log_db/tests/integration.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/log_db/tests/integration.rs b/log_db/tests/integration.rs index f178738..fa81542 100644 --- a/log_db/tests/integration.rs +++ b/log_db/tests/integration.rs @@ -207,6 +207,7 @@ 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() @@ -243,6 +244,10 @@ 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())) |
