Skip to content

Commit fb50463

Browse files
committed
tests: in test_minrecpoint_on_replica() wait a bit longer for shared buffer to fill in with dirty data
1 parent 8bbf1f4 commit fb50463

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pgpro2068.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ def test_minrecpoint_on_replica(self):
9595
'postgres',
9696
"select pid from pg_stat_activity where backend_type = 'background writer'").rstrip()
9797

98-
# wait for shared_buffer to be filled with dirty data
99-
sleep(5)
98+
# wait for shared buffer on replica to be filled with dirty data
99+
sleep(10)
100100

101101
# break checkpointer on UpdateLastRemovedPtr
102102
gdb_checkpointer = self.gdb_attach(checkpointer_pid)

0 commit comments

Comments
 (0)