Skip to content

Commit 35b4b7d

Browse files
committed
Use fast checkpoint in PostgresNode::backup()
Should cause tests to be a bit faster
1 parent f78ebbe commit 35b4b7d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/test/perl/PostgresNode.pm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,10 @@ sub backup
519519
my $name = $self->name;
520520

521521
print "# Taking pg_basebackup $backup_name from node \"$name\"\n";
522-
TestLib::system_or_bail('pg_basebackup', '-D', $backup_path, '-h',
523-
$self->host, '-p', $self->port, '--no-sync');
522+
TestLib::system_or_bail(
523+
'pg_basebackup', '-D', $backup_path, '-h',
524+
$self->host, '-p', $self->port, '--checkpoint',
525+
'fast', '--no-sync');
524526
print "# Backup finished\n";
525527
}
526528

0 commit comments

Comments
 (0)