Skip to content

Commit 07232e2

Browse files
authored
Enable complement tests for MSC4115 support (#17137)
Follow-up to #17137 and matrix-org/complement#722
1 parent 7ab0f63 commit 07232e2

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

changelog.d/17137.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add support for MSC4115 (membership metadata on events).

scripts-dev/complement.sh

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,17 @@ fi
214214

215215
extra_test_args=()
216216

217-
test_packages="./tests/csapi ./tests ./tests/msc3874 ./tests/msc3890 ./tests/msc3391 ./tests/msc3930 ./tests/msc3902 ./tests/msc3967"
217+
test_packages=(
218+
./tests/csapi
219+
./tests
220+
./tests/msc3874
221+
./tests/msc3890
222+
./tests/msc3391
223+
./tests/msc3930
224+
./tests/msc3902
225+
./tests/msc3967
226+
./tests/msc4115
227+
)
218228

219229
# Enable dirty runs, so tests will reuse the same container where possible.
220230
# This significantly speeds up tests, but increases the possibility of test pollution.
@@ -278,7 +288,7 @@ fi
278288
export PASS_SYNAPSE_LOG_TESTING=1
279289

280290
# Run the tests!
281-
echo "Images built; running complement with ${extra_test_args[@]} $@ $test_packages"
291+
echo "Images built; running complement with ${extra_test_args[@]} $@ ${test_packages[@]}"
282292
cd "$COMPLEMENT_DIR"
283293

284-
go test -v -tags "synapse_blacklist" -count=1 "${extra_test_args[@]}" "$@" $test_packages
294+
go test -v -tags "synapse_blacklist" -count=1 "${extra_test_args[@]}" "$@" "${test_packages[@]}"

0 commit comments

Comments
 (0)