aboutsummaryrefslogtreecommitdiffstats
path: root/log_db/tests/integration.rs
diff options
context:
space:
mode:
Diffstat (limited to 'log_db/tests/integration.rs')
-rw-r--r--log_db/tests/integration.rs2
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 => {