postgres.git / summary / log / commit / refs

commit    728a3e73e96173bb0b0b2afc0da061991f9e3d5d
Author:   Peter Eisentraut <peter_e@gmx.net>
Date:     Thu Sep 29 16:00:00 2016 +0000
First released in: 10.0

    Switch pg_basebackup commands in Postgres.pm to use --nosync
    
    On slow machines, this greatly reduces the I/O pressure induced by the
    tests.
    
    From: Michael Paquier <michael.paquier@gmail.com>


src/test/perl/PostgresNode.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm index afbdb6332bd..1611ac9461d 100644 --- a/src/test/perl/PostgresNode.pm +++ b/src/test/perl/PostgresNode.pm @@ -483,7 +483,7 @@ sub backup print "# Taking pg_basebackup $backup_name from node \"$name\"\n"; TestLib::system_or_bail('pg_basebackup', '-D', $backup_path, '-p', $port, - '-x'); + '-x', '--nosync'); print "# Backup finished\n"; } [parent: 6ed2d8584cc6]