summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorH. Shay <hillerys@element.io>2022-11-03 12:26:35 -0700
committerH. Shay <hillerys@element.io>2022-11-03 12:26:35 -0700
commit5ef29eee8a73aeafeb89d3da5cb9cf3e3d1021f2 (patch)
tree3764f9491bda1d9ff06c58cf1a76236e8510502f /tests
parentupdate create room code to store state groups after all events/context to be ... (diff)
downloadsynapse-5ef29eee8a73aeafeb89d3da5cb9cf3e3d1021f2.tar.xz
update to pass in current state map when checking batched events
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/client/test_rooms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rest/client/test_rooms.py b/tests/rest/client/test_rooms.py
index 716366eb90..255d1dfb8f 100644
--- a/tests/rest/client/test_rooms.py
+++ b/tests/rest/client/test_rooms.py
@@ -714,7 +714,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(34, channel.resource_usage.db_txn_count)
+        self.assertEqual(32, channel.resource_usage.db_txn_count)
 
     def test_post_room_initial_state(self) -> None:
         # POST with initial_state config key, expect new room id
@@ -727,7 +727,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(37, channel.resource_usage.db_txn_count)
+        self.assertEqual(34, channel.resource_usage.db_txn_count)
 
     def test_post_room_visibility_key(self) -> None:
         # POST with visibility config key, expect new room id