Skip to content

Commit d775482

Browse files
committed
Silence some warnings in TAP tests
Author: Michael Paquier
1 parent 5d5aedd commit d775482

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bin/pg_basebackup/t/010_pg_basebackup.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# but leave the data directory behind
4949
mkdir("$tempdir/backup")
5050
or BAIL_OUT("unable to create $tempdir/backup");
51-
append_to_file("$tempdir/backup/dir-not-empty.txt");
51+
append_to_file("$tempdir/backup/dir-not-empty.txt", "Some data");
5252

5353
$node->command_fails([ 'pg_basebackup', '-D', "$tempdir/backup", '-n' ],
5454
'failing run with no-clean option');

src/test/perl/PostgresNode.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ sub wait_for_catchup
15411541
. $standby_name . "'s "
15421542
. $mode
15431543
. "_lsn to pass "
1544-
. $target_lsn . " on "
1544+
. $lsn_expr . " on "
15451545
. $self->name . "\n";
15461546
my $query =
15471547
qq[SELECT $lsn_expr <= ${mode}_lsn FROM pg_catalog.pg_stat_replication WHERE application_name = '$standby_name';];

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy