dendrite/syncapi/storage
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
..
postgres syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
shared syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
sqlite3 syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
tables syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
interface.go syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
storage.go Run gofmt on dendrite - apply go 1.17 preferred build tags (#2021) 2021-11-02 16:48:48 +00:00
storage_test.go syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
storage_wasm.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00