8 Commits

Author SHA1 Message Date
Kegan Dougal
aa28df161c Rename package -> github.com/matrix-org/sliding-sync 2022-12-15 11:08:50 +00:00
Kegan Dougal
6e55f7f608 tests: make a consistent test env for both local and CI runs
- Only have a single database for all tests, like CI.
- Calling `PrepareDBConnectionString` drops all tables before returning
  the string.
- Tests must be run with no concurrency else they will step on each other
  due to the previous point.

This should prevent cases where local tests pass but CI fails.
2021-11-09 10:15:48 +00:00
Kegan Dougal
7334716646 Implement LoadState with tests 2021-10-07 15:58:14 +01:00
Kegan Dougal
e20a8ad067 Move synclive to sync3 2021-10-05 16:22:02 +01:00
Kegan Dougal
5b4b1a10ed Glue to_device stuff into the v3 handler, refactor to prevent import cycles 2021-08-03 12:06:09 +01:00
Kegan Dougal
749e4d413e Add integration tests on the http handler 2021-07-21 16:35:36 +01:00
Kegan Dougal
ea0fac859a Factor out psql test rig 2021-07-21 15:28:31 +01:00
Kegan Dougal
1df6237cb4 Add last (un)confirmed tokens to sessions
Also make session IDs an int64. Add tests.
2021-06-16 18:11:40 +01:00