Commit d7754822 authored by Magnus Hagander's avatar Magnus Hagander

Silence some warnings in TAP tests

Author: Michael Paquier
parent 5d5aedda
...@@ -48,7 +48,7 @@ ok(!-d "$tempdir/backup", 'backup directory was cleaned up'); ...@@ -48,7 +48,7 @@ ok(!-d "$tempdir/backup", 'backup directory was cleaned up');
# but leave the data directory behind # but leave the data directory behind
mkdir("$tempdir/backup") mkdir("$tempdir/backup")
or BAIL_OUT("unable to create $tempdir/backup"); or BAIL_OUT("unable to create $tempdir/backup");
append_to_file("$tempdir/backup/dir-not-empty.txt"); append_to_file("$tempdir/backup/dir-not-empty.txt", "Some data");
$node->command_fails([ 'pg_basebackup', '-D', "$tempdir/backup", '-n' ], $node->command_fails([ 'pg_basebackup', '-D', "$tempdir/backup", '-n' ],
'failing run with no-clean option'); 'failing run with no-clean option');
......
...@@ -1541,7 +1541,7 @@ sub wait_for_catchup ...@@ -1541,7 +1541,7 @@ sub wait_for_catchup
. $standby_name . "'s " . $standby_name . "'s "
. $mode . $mode
. "_lsn to pass " . "_lsn to pass "
. $target_lsn . " on " . $lsn_expr . " on "
. $self->name . "\n"; . $self->name . "\n";
my $query = my $query =
qq[SELECT $lsn_expr <= ${mode}_lsn FROM pg_catalog.pg_stat_replication WHERE application_name = '$standby_name';]; qq[SELECT $lsn_expr <= ${mode}_lsn FROM pg_catalog.pg_stat_replication WHERE application_name = '$standby_name';];
......
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