diff options
author | Shay <hillerys@element.io> | 2022-10-21 10:46:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 10:46:22 -0700 |
commit | b7a7ff6ee39da4981dcfdce61bf8ac4735e3d047 (patch) | |
tree | ffb8111e4d242f7fffe35a545c1c59cc51089241 /tests | |
parent | Improve aesthetics and reusability of HTML templates. (#13652) (diff) | |
download | synapse-b7a7ff6ee39da4981dcfdce61bf8ac4735e3d047.tar.xz |
Add initial power level event to batch of bulk persisted events when creating a new room. (#14228)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/push/test_bulk_push_rule_evaluator.py | 2 | ||||
-rw-r--r-- | tests/replication/_base.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/push/test_bulk_push_rule_evaluator.py b/tests/push/test_bulk_push_rule_evaluator.py index 675d7df2ac..594e7937a8 100644 --- a/tests/push/test_bulk_push_rule_evaluator.py +++ b/tests/push/test_bulk_push_rule_evaluator.py @@ -71,4 +71,4 @@ class TestBulkPushRuleEvaluator(unittest.HomeserverTestCase): bulk_evaluator = BulkPushRuleEvaluator(self.hs) # should not raise - self.get_success(bulk_evaluator.action_for_event_by_user(event, context)) + self.get_success(bulk_evaluator.action_for_events_by_user([(event, context)])) diff --git a/tests/replication/_base.py b/tests/replication/_base.py index ce53f808db..121f3d8d65 100644 --- a/tests/replication/_base.py +++ b/tests/replication/_base.py @@ -371,7 +371,7 @@ class BaseMultiWorkerStreamTestCase(unittest.HomeserverTestCase): config=worker_hs.config.server.listeners[0], resource=resource, server_version_string="1", - max_request_body_size=4096, + max_request_body_size=8192, reactor=self.reactor, ) |