diff options
author | Erik Johnston <erik@matrix.org> | 2022-07-11 21:08:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-11 20:08:39 +0000 |
commit | e5716b631c6fe0b0a8510f16a5bffddb6396f434 (patch) | |
tree | 50809aa2b1cb9c5620c9f8fee4f4f78c330735f5 /tests/rest/client | |
parent | Add a sample bash script to docs for creating multiple worker files (#13032) (diff) | |
download | synapse-e5716b631c6fe0b0a8510f16a5bffddb6396f434.tar.xz |
Don't pull out the full state when calculating push actions (#13078)
Diffstat (limited to 'tests/rest/client')
-rw-r--r-- | tests/rest/client/test_rooms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rest/client/test_rooms.py b/tests/rest/client/test_rooms.py index d19b1bb858..df7ffbe545 100644 --- a/tests/rest/client/test_rooms.py +++ b/tests/rest/client/test_rooms.py @@ -709,7 +709,7 @@ class RoomsCreateTestCase(RoomBase): self.assertEqual(200, channel.code, channel.result) self.assertTrue("room_id" in channel.json_body) assert channel.resource_usage is not None - self.assertEqual(33, channel.resource_usage.db_txn_count) + self.assertEqual(37, channel.resource_usage.db_txn_count) def test_post_room_initial_state(self) -> None: # POST with initial_state config key, expect new room id @@ -722,7 +722,7 @@ class RoomsCreateTestCase(RoomBase): self.assertEqual(200, channel.code, channel.result) self.assertTrue("room_id" in channel.json_body) assert channel.resource_usage is not None - self.assertEqual(37, channel.resource_usage.db_txn_count) + self.assertEqual(41, channel.resource_usage.db_txn_count) def test_post_room_visibility_key(self) -> None: # POST with visibility config key, expect new room id |