summary refs log tree commit diff
path: root/tests/replication/tcp/test_handler.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Correctly mention previous copyright (#16820)Erik Johnston2024-01-231-0/+1
| | | | | During the migration the automated script to update the copyright headers accidentally got rid of some of the existing copyright lines. Reinstate them.
* Update license headersPatrick Cloke2023-11-211-10/+16
|
* Fix bug where 5s delays would occasionally happen. (#15150)Erik Johnston2023-02-241-0/+61
| | | This only affects deployments using workers.
* Add final type hint to tests.unittest. (#15072)Patrick Cloke2023-02-141-0/+1
| | | | Adds a return type to HomeServerTestCase.make_homeserver and deal with any variables which are no longer Any.
* Always notify replication when a stream advances (#14877)Erik Johnston2023-01-201-16/+7
| | | This ensures that all other workers are told about stream updates in a timely manner, without having to remember to manually poke replication.
* Fix bug in `wait_for_stream_position` (#14856)Erik Johnston2023-01-171-0/+78
| | | | | We were incorrectly checking if the *local* token had been advanced, rather than the token for the remote instance. In practice, I don't think this has caused any bugs due to where we use `wait_for_stream_position`, as critically we don't use it on instances that also write to the given streams (and so the local token will lag behind all remote tokens).
* Reduce the number of tests using TCP replication. (#13543)Patrick Cloke2022-08-191-2/+2
| | | | Uses Redis replication in additional test cases (instead of TCP replication). A small step towards dropping TCP replication.
* Lay some foundation work to allow workers to only subscribe to some kinds of ↵reivilibre2022-05-191-0/+73
messages, reducing replication traffic. (#12672)