Commit 728a3e73 authored by Peter Eisentraut's avatar Peter Eisentraut

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>
parent 6ed2d858
...@@ -483,7 +483,7 @@ sub backup ...@@ -483,7 +483,7 @@ sub backup
print "# Taking pg_basebackup $backup_name from node \"$name\"\n"; print "# Taking pg_basebackup $backup_name from node \"$name\"\n";
TestLib::system_or_bail('pg_basebackup', '-D', $backup_path, '-p', $port, TestLib::system_or_bail('pg_basebackup', '-D', $backup_path, '-p', $port,
'-x'); '-x', '--nosync');
print "# Backup finished\n"; print "# Backup finished\n";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment