summary refs log tree commit diff
path: root/tests/replication
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2023-05-26 14:28:55 +0000
committerGitHub <noreply@github.com>2023-05-26 14:28:55 +0000
commitc775d80b73b7930b9541e353fc24dcef66579e48 (patch)
treed7a2460c1857ee9583cb8ac4aed4591b6ff8bbd1 /tests/replication
parentAdd `dch` and `notify-send` to the development Nix flake so that the release ... (diff)
downloadsynapse-c775d80b73b7930b9541e353fc24dcef66579e48.tar.xz
Fix a bug introduced in Synapse v1.84.0 where workers do not start up when no `instance_map` was provided. (#15672)
* Fix #15669: always populate instance map even if it was empty

* Fix some tests

* Fix more tests

* Newsfile

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>

* CI fix: don't forget to update apt repository sources before installing olddeps deps

* Add test testing the backwards compatibility

---------

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
Diffstat (limited to 'tests/replication')
-rw-r--r--tests/replication/test_federation_ack.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/replication/test_federation_ack.py b/tests/replication/test_federation_ack.py
index 12668b34c5..cf59b1a204 100644
--- a/tests/replication/test_federation_ack.py
+++ b/tests/replication/test_federation_ack.py
@@ -32,6 +32,7 @@ class FederationAckTestCase(HomeserverTestCase):
         config["worker_app"] = "synapse.app.generic_worker"
         config["worker_name"] = "federation_sender1"
         config["federation_sender_instances"] = ["federation_sender1"]
+        config["instance_map"] = {"main": {"host": "127.0.0.1", "port": 0}}
         return config
 
     def make_homeserver(self, reactor: MemoryReactor, clock: Clock) -> HomeServer: