diff options
author | Mathieu Velten <mathieuv@matrix.org> | 2023-03-30 19:41:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 19:41:14 +0200 |
commit | 6f68e32bfbe439435410e81ac70fdca10f28fbf7 (patch) | |
tree | 6871ba0e2d83b6057dbadec5bd2ad523e746f369 /tests/replication/_base.py | |
parent | Speed up SQLite unit test CI (#15334) (diff) | |
download | synapse-6f68e32bfbe439435410e81ac70fdca10f28fbf7.tar.xz |
to_device updates could be dropped when consuming the replication stream (#15349)
Co-authored-by: reivilibre <oliverw@matrix.org>
Diffstat (limited to 'tests/replication/_base.py')
-rw-r--r-- | tests/replication/_base.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/replication/_base.py b/tests/replication/_base.py index 46a8e2013e..0f1a8a145f 100644 --- a/tests/replication/_base.py +++ b/tests/replication/_base.py @@ -54,6 +54,10 @@ class BaseStreamTestCase(unittest.HomeserverTestCase): if not hiredis: skip = "Requires hiredis" + if not USE_POSTGRES_FOR_TESTS: + # Redis replication only takes place on Postgres + skip = "Requires Postgres" + def prepare(self, reactor: MemoryReactor, clock: Clock, hs: HomeServer) -> None: # build a replication server server_factory = ReplicationStreamProtocolFactory(hs) |