From 062cd0ff0176f1f9924e3ae89c0eaf01a8d6fd04 Mon Sep 17 00:00:00 2001 From: pennae Date: Thu, 14 Jul 2022 09:17:16 +0200 Subject: allow integration tests to run in parallel this doesn't do much for performance, but it does allow running the tests with a simple `cargo t`. --- default.nix | 4 ---- 1 file changed, 4 deletions(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index 1942086..f97d645 100644 --- a/default.nix +++ b/default.nix @@ -32,9 +32,6 @@ rustPlatform.buildRustPackage rec { patchShebangs ./tests/run.sh ''; - # tests can't run multithreaded yet - dontUseCargoParallelTests = true; - # test config for postgres hook and integration tests PGDATABASE = "testdb"; PGUSER = "testuser"; @@ -44,7 +41,6 @@ rustPlatform.buildRustPackage rec { ROCKET_VAPID_KEY = "private_key.pem"; ROCKET_VAPID_SUBJECT = "undefined"; # not needed for tests ROCKET_MAIL_FROM = "minor skulk "; - ROCKET_MAIL_PORT = 2525; preCheck = '' openssl ecparam -genkey -name prime256v1 -out private_key.pem -- cgit v1.2.3