diff options
author | Kegan Dougal <kegan@matrix.org> | 2023-10-18 16:03:14 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2023-10-18 16:03:14 +0100 |
commit | e989d040dc3d9aeafcd4a494acaf69084fad0e79 (patch) | |
tree | 740180dc098b131f8664f69fd46857b176d69d36 | |
parent | Changelog (diff) | |
download | synapse-e989d040dc3d9aeafcd4a494acaf69084fad0e79.tar.xz |
limit concurrency to 2
-rw-r--r-- | .github/workflows/tests.yml | 2 | ||||
-rwxr-xr-x | 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 |