mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Update timeline on standby cluster (#1332)
Fixes https://github.com/zalando/patroni/issues/1031
This commit is contained in:
@@ -331,7 +331,7 @@ class TestPostgresql(BaseTestPostgresql):
|
||||
self.assertTrue(self.p.promote(0))
|
||||
|
||||
def test_timeline_wal_position(self):
|
||||
self.assertEqual(self.p.timeline_wal_position(), (1, 2))
|
||||
self.assertEqual(self.p.timeline_wal_position(), (1, 2, 1))
|
||||
Thread(target=self.p.timeline_wal_position).start()
|
||||
|
||||
@patch.object(PostmasterProcess, 'from_pidfile')
|
||||
|
||||
Reference in New Issue
Block a user