mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-04 01:54:13 -04:00
Modernize unit tests configuration settings for workers. (#14568)
Use the newer foo_instances configuration instead of the deprecated flags to enable specific features (e.g. start_pushers).
This commit is contained in:
parent
7aefc7e9fc
commit
854a6884d8
18 changed files with 123 additions and 81 deletions
|
@ -307,7 +307,7 @@ class BaseMultiWorkerStreamTestCase(unittest.HomeserverTestCase):
|
|||
stream to the master HS.
|
||||
|
||||
Args:
|
||||
worker_app: Type of worker, e.g. `synapse.app.federation_sender`.
|
||||
worker_app: Type of worker, e.g. `synapse.app.generic_worker`.
|
||||
extra_config: Any extra config to use for this instances.
|
||||
**kwargs: Options that get passed to `self.setup_test_homeserver`,
|
||||
useful to e.g. pass some mocks for things like `federation_http_client`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue