Skip to content

Commit 210c303

Browse files
committed
tests: start restored node in test_basic_ptrack_truncate_replica
1 parent 2808cc6 commit 210c303

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tests/ptrack.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3031,7 +3031,7 @@ def test_basic_ptrack_truncate_replica(self):
30313031
pg_options={
30323032
'max_wal_size': '32MB',
30333033
'archive_timeout': '10s',
3034-
'checkpoint_timeout': '30s',
3034+
'checkpoint_timeout': '5min',
30353035
'autovacuum': 'off'})
30363036

30373037
backup_dir = os.path.join(self.tmp_path, module_name, fname, 'backup')
@@ -3130,6 +3130,14 @@ def test_basic_ptrack_truncate_replica(self):
31303130
if self.paranoia:
31313131
self.compare_pgdata(pgdata, pgdata_restored)
31323132

3133+
self.set_auto_conf(node, {'port': node.port})
3134+
3135+
node.slow_start()
3136+
3137+
node.safe_psql(
3138+
'postgres',
3139+
'select 1')
3140+
31333141
# Clean after yourself
31343142
self.del_test_dir(module_name, fname, [master, replica])
31353143

0 commit comments

Comments
 (0)