diff options
author | Jason Little <realtyem@gmail.com> | 2023-07-07 02:45:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-07 07:45:25 +0000 |
commit | 2481b7dfa41c1c890346136f04344a4e1660ef32 (patch) | |
tree | 092a1336c2d8e861c2ed69628db754237569df17 /tests/app/test_homeserver_start.py | |
parent | Update link to the clients webpage, fix #15825 (#15874) (diff) | |
download | synapse-2481b7dfa41c1c890346136f04344a4e1660ef32.tar.xz |
Remove `worker_replication_*` deprecated settings, with helpful errors on startup (#15860)
Co-authored-by: reivilibre <oliverw@matrix.org>
Diffstat (limited to 'tests/app/test_homeserver_start.py')
-rw-r--r-- | tests/app/test_homeserver_start.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/app/test_homeserver_start.py b/tests/app/test_homeserver_start.py index cd117b7394..0201933b04 100644 --- a/tests/app/test_homeserver_start.py +++ b/tests/app/test_homeserver_start.py @@ -25,9 +25,9 @@ class HomeserverAppStartTestCase(ConfigFileTestCase): # Add a blank line as otherwise the next addition ends up on a line with a comment self.add_lines_to_config([" "]) self.add_lines_to_config(["worker_app: test_worker_app"]) - self.add_lines_to_config(["worker_replication_host: 127.0.0.1"]) - self.add_lines_to_config(["worker_replication_http_port: 0"]) - + self.add_lines_to_config(["worker_log_config: /data/logconfig.config"]) + self.add_lines_to_config(["instance_map:"]) + self.add_lines_to_config([" main:", " host: 127.0.0.1", " port: 1234"]) # Ensure that starting master process with worker config raises an exception with self.assertRaises(ConfigError): synapse.app.homeserver.setup(["-c", self.config_file]) |