mirror of
https://github.com/element-hq/synapse
synced 2024-10-01 04:02:41 +00:00
Update tests/storage/test_id_generators.py
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
parent
b32cd23b90
commit
4bd969ba55
1 changed files with 1 additions and 1 deletions
|
@ -524,7 +524,7 @@ class WorkerMultiWriterIdGeneratorTestCase(MultiWriterIdGeneratorBase):
|
||||||
self.assertEqual(id_gen_5.get_current_token_for_writer("third"), 6)
|
self.assertEqual(id_gen_5.get_current_token_for_writer("third"), 6)
|
||||||
|
|
||||||
def test_sequence_consistency(self) -> None:
|
def test_sequence_consistency(self) -> None:
|
||||||
"""Test that we correct sequence if the table and sequence diverges."""
|
"""Test that we correct the sequence if the table and sequence diverges."""
|
||||||
|
|
||||||
# Prefill with some rows
|
# Prefill with some rows
|
||||||
self._insert_row_with_id("master", 3)
|
self._insert_row_with_id("master", 3)
|
||||||
|
|
Loading…
Reference in a new issue