From e989d040dc3d9aeafcd4a494acaf69084fad0e79 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 18 Oct 2023 16:03:14 +0100 Subject: [PATCH] limit concurrency to 2 --- .github/workflows/tests.yml | 2 +- scripts-dev/complement.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 13746608d4..701e56e33e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -640,7 +640,7 @@ jobs: - run: | set -o pipefail - COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json 2>&1 | synapse/.ci/scripts/gotestfmt + COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json -p 2 2>&1 | synapse/.ci/scripts/gotestfmt shell: bash env: POSTGRES: ${{ (matrix.database == 'Postgres') && 1 || '' }} diff --git a/scripts-dev/complement.sh b/scripts-dev/complement.sh index 0cda8e00bb..cd165ba18a 100755 --- a/scripts-dev/complement.sh +++ b/scripts-dev/complement.sh @@ -277,7 +277,7 @@ fi export PASS_SYNAPSE_LOG_TESTING=1 # Run the tests! -echo "Images built; running complement" +echo "Images built; running complement with ${extra_test_args[@]} $@ $test_packages" cd "$COMPLEMENT_DIR" go test -v -tags "synapse_blacklist" -count=1 "${extra_test_args[@]}" "$@" $test_packages