aboutsummaryrefslogtreecommitdiffstats
path: root/log_db/tests
diff options
context:
space:
mode:
Diffstat (limited to 'log_db/tests')
-rw-r--r--log_db/tests/integration.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/log_db/tests/integration.rs b/log_db/tests/integration.rs
index 2d1615b..bb4b8ac 100644
--- a/log_db/tests/integration.rs
+++ b/log_db/tests/integration.rs
@@ -6,6 +6,7 @@ extern crate tempfile;
use ctor::ctor;
use env_logger;
use log_db::*;
+use serial_test::serial;
use std::fs::{self};
use std::path::Path;
use std::thread;
@@ -251,6 +252,7 @@ fn test_upsert_and_find_all() {
}
#[test]
+#[serial]
fn test_multiple_writing_threads() {
let data_dir = tmp_dir();
debug!("Data dir: {:?}", data_dir);
@@ -298,6 +300,7 @@ fn test_multiple_writing_threads() {
}
#[test]
+#[serial]
fn test_one_writer_and_multiple_reading_threads() {
let data_dir = tmp_dir();
let mut threads = vec![];