Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit cab4a52

Browse files
authored
set worker_app for frontend proxy test (#7003)
to stop the federationhandler trying to do master stuff
1 parent b32ac60 commit cab4a52

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

changelog.d/7003.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Refactoring work in preparation for changing the event redaction algorithm.

tests/app/test_frontend_proxy.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ def make_homeserver(self, reactor, clock):
2727

2828
return hs
2929

30+
def default_config(self, name="test"):
31+
c = super().default_config(name)
32+
c["worker_app"] = "synapse.app.frontend_proxy"
33+
return c
34+
3035
def test_listen_http_with_presence_enabled(self):
3136
"""
3237
When presence is on, the stub servlet will not register.

0 commit comments

Comments
 (0)