diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-08-19 08:25:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 08:25:24 -0400 |
commit | f3fba4914d63bd9ee0573b61c9631b58ec263070 (patch) | |
tree | b9135a29813e24a46f3fb483855372df21d970a9 /tests/module_api/test_api.py | |
parent | Fix validation problem that occurs when a user tries to deactivate their acco... (diff) | |
download | synapse-f3fba4914d63bd9ee0573b61c9631b58ec263070.tar.xz |
Reduce the number of tests using TCP replication. (#13543)
Uses Redis replication in additional test cases (instead of TCP replication). A small step towards dropping TCP replication.
Diffstat (limited to 'tests/module_api/test_api.py')
-rw-r--r-- | tests/module_api/test_api.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/module_api/test_api.py b/tests/module_api/test_api.py index 106159fa65..02cef6f876 100644 --- a/tests/module_api/test_api.py +++ b/tests/module_api/test_api.py @@ -30,7 +30,6 @@ from tests.replication._base import BaseMultiWorkerStreamTestCase from tests.test_utils import simple_async_mock from tests.test_utils.event_injection import inject_member_event from tests.unittest import HomeserverTestCase, override_config -from tests.utils import USE_POSTGRES_FOR_TESTS class ModuleApiTestCase(HomeserverTestCase): @@ -738,11 +737,6 @@ class ModuleApiTestCase(HomeserverTestCase): class ModuleApiWorkerTestCase(BaseMultiWorkerStreamTestCase): """For testing ModuleApi functionality in a multi-worker setup""" - # Testing stream ID replication from the main to worker processes requires postgres - # (due to needing `MultiWriterIdGenerator`). - if not USE_POSTGRES_FOR_TESTS: - skip = "Requires Postgres" - servlets = [ admin.register_servlets, login.register_servlets, @@ -752,7 +746,6 @@ class ModuleApiWorkerTestCase(BaseMultiWorkerStreamTestCase): def default_config(self): conf = super().default_config() - conf["redis"] = {"enabled": "true"} conf["stream_writers"] = {"presence": ["presence_writer"]} conf["instance_map"] = { "presence_writer": {"host": "testserv", "port": 1001}, |