Merge branch 'master' into develop
This commit is contained in:
@@ -25,6 +25,8 @@ 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"])
|
||||
|
||||
# Ensure that starting master process with worker config raises an exception
|
||||
with self.assertRaises(ConfigError):
|
||||
|
||||
@@ -42,6 +42,7 @@ class FederationReaderOpenIDListenerTests(HomeserverTestCase):
|
||||
# have to tell the FederationHandler not to try to access stuff that is only
|
||||
# in the primary store.
|
||||
conf["worker_app"] = "yes"
|
||||
conf["instance_map"] = {"main": {"host": "127.0.0.1", "port": 0}}
|
||||
|
||||
return conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user