mirror of
https://github.com/matrix-org/synapse.git
synced 2025-01-30 20:05:47 +00:00
limit concurrency to 2
This commit is contained in:
parent
b32b8a469a
commit
e989d040dc
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -640,7 +640,7 @@ jobs:
|
|||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
set -o pipefail
|
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
|
shell: bash
|
||||||
env:
|
env:
|
||||||
POSTGRES: ${{ (matrix.database == 'Postgres') && 1 || '' }}
|
POSTGRES: ${{ (matrix.database == 'Postgres') && 1 || '' }}
|
||||||
|
@ -277,7 +277,7 @@ fi
|
|||||||
export PASS_SYNAPSE_LOG_TESTING=1
|
export PASS_SYNAPSE_LOG_TESTING=1
|
||||||
|
|
||||||
# Run the tests!
|
# Run the tests!
|
||||||
echo "Images built; running complement"
|
echo "Images built; running complement with ${extra_test_args[@]} $@ $test_packages"
|
||||||
cd "$COMPLEMENT_DIR"
|
cd "$COMPLEMENT_DIR"
|
||||||
|
|
||||||
go test -v -tags "synapse_blacklist" -count=1 "${extra_test_args[@]}" "$@" $test_packages
|
go test -v -tags "synapse_blacklist" -count=1 "${extra_test_args[@]}" "$@" $test_packages
|
||||||
|
Loading…
Reference in New Issue
Block a user