diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2022-07-18 13:02:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-18 13:02:25 +0100 |
commit | c5f487b7cb7994c1782bf639223940f19b18e4d9 (patch) | |
tree | c8b58fbd8a4cd92271237ccc4af12c80d018e3c3 /tests | |
parent | Don't pull out the full state when creating an event (#13281) (diff) | |
download | synapse-c5f487b7cb7994c1782bf639223940f19b18e4d9.tar.xz |
Update expected DB query count when creating a room (#13307)
Diffstat (limited to 'tests')
-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 c60ca604e9..17571b2d33 100644 --- a/tests/rest/client/test_rooms.py +++ b/tests/rest/client/test_rooms.py @@ -710,7 +710,7 @@ class RoomsCreateTestCase(RoomBase): self.assertEqual(HTTPStatus.OK, channel.code, channel.result) self.assertTrue("room_id" in channel.json_body) assert channel.resource_usage is not None - self.assertEqual(36, channel.resource_usage.db_txn_count) + self.assertEqual(43, channel.resource_usage.db_txn_count) def test_post_room_initial_state(self) -> None: # POST with initial_state config key, expect new room id @@ -723,7 +723,7 @@ class RoomsCreateTestCase(RoomBase): self.assertEqual(HTTPStatus.OK, channel.code, channel.result) self.assertTrue("room_id" in channel.json_body) assert channel.resource_usage is not None - self.assertEqual(40, channel.resource_usage.db_txn_count) + self.assertEqual(49, channel.resource_usage.db_txn_count) def test_post_room_visibility_key(self) -> None: # POST with visibility config key, expect new room id |