1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-03-26 22:20:10 +02:00

tests: in test_minrecpoint_on_replica() wait a bit longer for shared buffer to fill in with dirty data

This commit is contained in:
Grigory Smolkin 2019-02-12 20:10:04 +03:00
parent 8bbf1f44c6
commit fb5046343f

View File

@ -95,8 +95,8 @@ class BugTest(ProbackupTest, unittest.TestCase):
'postgres',
"select pid from pg_stat_activity where backend_type = 'background writer'").rstrip()
# wait for shared_buffer to be filled with dirty data
sleep(5)
# wait for shared buffer on replica to be filled with dirty data
sleep(10)
# break checkpointer on UpdateLastRemovedPtr
gdb_checkpointer = self.gdb_attach(checkpointer_pid)