From 728a3e73e96173bb0b0b2afc0da061991f9e3d5d Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 29 Sep 2016 12:00:00 -0400 Subject: [PATCH] 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 --- 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 afbdb6332b..1611ac9461 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"; } -- 2.40.0