0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-10 20:01:15 +01:00
dendrite/test
kegsay 6d25bd6ca5
syncapi: add more tests; fix more bugs (#2338)
* syncapi: add more tests; fix more bugs

bugfixes:
 - The postgres impl of TopologyTable.SelectEventIDsInRange did not use the provided txn
 - The postgres impl of EventsTable.SelectEvents did not preserve the ordering of the input event IDs in the output events slice
 - The sqlite impl of EventsTable.SelectEvents did not use a bulk `IN ($1)` query.

Added tests:
 - `TestGetEventsInRangeWithTopologyToken`
 - `TestOutputRoomEventsTable`
 - `TestTopologyTable`

* -p 1 for now
2022-04-08 17:53:24 +01:00
..
wasm Add startup testing for Wasm Pinecone build (#1910) 2021-07-20 12:14:58 +01:00
db.go syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
event.go syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
room.go Add test infrastructure code for dendrite unit/integ tests (#2331) 2022-04-08 10:12:30 +01:00
user.go Add test infrastructure code for dendrite unit/integ tests (#2331) 2022-04-08 10:12:30 +01:00