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>
pull/17/head
Peter Eisentraut 9 years ago
parent 6ed2d8584c
commit 728a3e73e9
  1. 2
      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";
}

Loading…
Cancel
Save