diff --git a/tests/csapi/apidoc_room_create_test.go b/tests/csapi/apidoc_room_create_test.go index e0d37087..552c0be4 100644 --- a/tests/csapi/apidoc_room_create_test.go +++ b/tests/csapi/apidoc_room_create_test.go @@ -176,7 +176,7 @@ func TestRoomCreate(t *testing.T) { }) // Wait until user has joined the room - alice.MustSyncUntil(t, client.SyncReq{}, client.SyncJoinedTo(alice.UserID, roomID)) + alice.MustSyncUntil(t, client.SyncReq{Filter: `{"room":{"timeline":{"limit":10}}}`}, client.SyncJoinedTo(alice.UserID, roomID)) // Get ordered timeline via a full sync res, _ := alice.MustSync(t, client.SyncReq{})