diff options
author | Erik Johnston <erik@matrix.org> | 2020-04-22 13:07:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 13:07:41 +0100 |
commit | 51f7eaf908a84fcaf231899e2bf1beae14ae72c0 (patch) | |
tree | e7e14016f42d021542d1703415cf6e06804310eb /tests/replication/slave/storage | |
parent | Reduce logging verbosity of URL cache cleanup. (#7295) (diff) | |
download | synapse-51f7eaf908a84fcaf231899e2bf1beae14ae72c0.tar.xz |
Add ability to run replication protocol over redis. (#7040)
This is configured via the `redis` config options.
Diffstat (limited to 'tests/replication/slave/storage')
-rw-r--r-- | tests/replication/slave/storage/_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/replication/slave/storage/_base.py b/tests/replication/slave/storage/_base.py index 8902a5ab69..395c7d0306 100644 --- a/tests/replication/slave/storage/_base.py +++ b/tests/replication/slave/storage/_base.py @@ -16,7 +16,7 @@ from mock import Mock, NonCallableMock from synapse.replication.tcp.client import ( - ReplicationClientFactory, + DirectTcpReplicationClientFactory, ReplicationDataHandler, ) from synapse.replication.tcp.handler import ReplicationCommandHandler @@ -61,7 +61,7 @@ class BaseSlavedStoreTestCase(unittest.HomeserverTestCase): self.slaved_store ) - client_factory = ReplicationClientFactory( + client_factory = DirectTcpReplicationClientFactory( self.hs, "client_name", self.replication_handler ) client_factory.handler = self.replication_handler |