From b694e0f342ef4f2687afdcd7424dd4a0fe350799 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Tue, 2 Apr 2019 22:55:59 +0200 Subject: Refactor tests to always load fixtures, and sync execution. Rust will run tests in parallel by default, which does not work too well with using db transactions as a means to isolate changes in the database between tests. So we have to run the database tests one at a time, thus the mutex. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 53f348c..973cedb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,4 +17,5 @@ default-features = false features = ["json", "serve", "diesel_postgres_pool"] [dev-dependencies] +lazy_static = "~1.3.0" serde_json = "~1.0.39" -- cgit v1.2.3