Compare commits

..

No commits in common. "d065598c99d4b8acf04f645f72c47465f688ff7f" and "b32cd23b905dec8f605ace3fbeac37e858d565d6" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View file

@ -165,7 +165,7 @@ class PostgresSequenceGenerator(SequenceGenerator):
# forwards again. We resolve this by setting the sequence to the
# right value.
logger.warning(
"Postgres sequence %s is behind table %s: %d < %d. Updating sequence.",
"Postgres sequence %s is behind table %s: %d < %d",
self._sequence_name,
table,
last_value,

View file

@ -524,7 +524,7 @@ class WorkerMultiWriterIdGeneratorTestCase(MultiWriterIdGeneratorBase):
self.assertEqual(id_gen_5.get_current_token_for_writer("third"), 6)
def test_sequence_consistency(self) -> None:
"""Test that we correct the sequence if the table and sequence diverges."""
"""Test that we correct sequence if the table and sequence diverges."""
# Prefill with some rows
self._insert_row_with_id("master", 3)