diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2024-11-21 21:09:52 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-11-21 21:10:07 +0200 |
| commit | 987f0c0374bf8456fe38a1368103133789f74e62 (patch) | |
| tree | 0660049426bf9e71fdb332b46f414a3639467ab9 /log_db/tests/integration.rs | |
| parent | 34730bbe58b77c7ee3d5e6344846a8a8e6595f17 (diff) | |
Refactor do_maintenance_tasks
Diffstat (limited to 'log_db/tests/integration.rs')
| -rw-r--r-- | log_db/tests/integration.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/log_db/tests/integration.rs b/log_db/tests/integration.rs index e5befa7..4943613 100644 --- a/log_db/tests/integration.rs +++ b/log_db/tests/integration.rs @@ -321,6 +321,8 @@ fn test_one_writer_and_multiple_reading_threads() { let mut timeout = 5; loop { + db.do_maintenance_tasks() // Run maintenance tasks on every read, just to test it + .expect("Failed to do maintenance tasks"); let result = db.get(&Value::Int(i)).expect("Failed to get record"); match result { None => { |
