summary refs log tree commit diff
path: root/tests/replication/test_sharded_event_persister.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reduce the number of tests using TCP replication. (#13543)Patrick Cloke2022-08-191-7/+0
| | | | Uses Redis replication in additional test cases (instead of TCP replication). A small step towards dropping TCP replication.
* Fix room upgrades creating an empty room when auth fails (#12696)Sean Quah2022-05-161-13/+1
| | | | Signed-off-by: Sean Quah <seanq@element.io>
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-4/+4
| | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
* Add type hints to `synapse/storage/databases/main/events_worker.py` (#11411)Sean Quah2021-11-261-1/+5
| | | | Also refactor the stream ID trackers/generators a bit and try to document them better.
* Flatten the synapse.rest.client package (#10600)reivilibre2021-08-171-2/+1
|
* [pyupgrade] `tests/` (#10347)Jonathan de Jong2021-07-131-3/+3
|
* Use a database table to hold the users that should have full presence sent ↵Andrew Morgan2021-05-181-1/+1
| | | | to them, instead of something in-memory (#9823)
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-2/+1
|
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-10/+15
| | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version
* Remove spurious "SynapseRequest" result from `make_request"Richard van der Hoff2020-12-151-8/+8
| | | | This was never used, so let's get rid of it.
* Remove redundant calls to `render()`Richard van der Hoff2020-11-161-8/+0
|
* use global make_request() directly where we have a custom ResourceRichard van der Hoff2020-11-151-10/+32
| | | | | | Where we want to render a request against a specific Resource, call the global make_request() function rather than the one in HomeserverTestCase, allowing us to pass in an appropriate `Site`.
* Add basic tests for sync/pagination with vector clock tokens. (#8488)Erik Johnston2020-10-141-0/+217
| | | | | These are tests for #8439
* Add unit test for event persister sharding (#8433)Erik Johnston2020-10-021-0/+102