From 162225f4e15f3109b5f5c4b0b240f47183ef53b3 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 18 Oct 2023 14:27:09 +0100 Subject: [PATCH] complement: enable dirty runs --- scripts-dev/complement.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts-dev/complement.sh b/scripts-dev/complement.sh index 3e0cddb527..0cda8e00bb 100755 --- a/scripts-dev/complement.sh +++ b/scripts-dev/complement.sh @@ -219,6 +219,9 @@ test_packages="./tests/csapi ./tests ./tests/msc3874 ./tests/msc3890 ./tests/msc # All environment variables starting with PASS_ will be shared. # (The prefix is stripped off before reaching the container.) export COMPLEMENT_SHARE_ENV_PREFIX=PASS_ +# Enable dirty runs, so tests will reuse the same container where possible. +# This significantly speeds up tests, but increases the possibility of test pollution. +export COMPLEMENT_ENABLE_DIRTY_RUNS=1 # It takes longer than 10m to run the whole suite. extra_test_args+=("-timeout=60m")