mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 10:35:46 +03:00
Better complement docs (#16946)
This commit is contained in:
parent
3eb0a3b468
commit
0c55c76da8
2 changed files with 12 additions and 0 deletions
1
changelog.d/16946.doc
Normal file
1
changelog.d/16946.doc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Improve the documentation around running Complement tests with new configuration parameters.
|
|
@ -30,3 +30,14 @@ Consult `scripts-dev/complement.sh` in the repository root for a real example.
|
||||||
|
|
||||||
[complement]: https://github.com/matrix-org/complement
|
[complement]: https://github.com/matrix-org/complement
|
||||||
[complementEnv]: https://github.com/matrix-org/complement/pull/382
|
[complementEnv]: https://github.com/matrix-org/complement/pull/382
|
||||||
|
|
||||||
|
## How to modify homeserver.yaml for Complement tests
|
||||||
|
|
||||||
|
It's common for MSCs to be gated behind a feature flag like this:
|
||||||
|
```yaml
|
||||||
|
experimental_features:
|
||||||
|
faster_joins: true
|
||||||
|
```
|
||||||
|
To modify this for the Complement image, modify `./conf/workers-shared-extra.yaml.j2`. Despite the name,
|
||||||
|
this will affect non-worker mode as well. Remember to _rebuild_ the image (so don't use `-e` if using
|
||||||
|
`complement.sh`).
|
||||||
|
|
Loading…
Reference in a new issue