Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1409ead

Browse files
committed
Clean up some includes and comments in TAP test scripts
A few tests included File::Path::rmtree without using it, and a commentrelated to the segment size for replication slot limits was wrong.Author: Pavel Borisov, Bharath RupireddyReviewed-by: Maxim OrlovDiscussion:https://postgr.es/m/CALj2ACU4-aNLX=DrUM8F7QDwynJKzYRiqOj_33NhnGbhDs5-kQ@mail.gmail.com
1 parentf4d3ca4 commit1409ead

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

‎src/bin/pg_verifybackup/t/007_wal.pl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
use strict;
77
use warnings;
8-
use File::Pathqw(rmtree);
98
use PostgreSQL::Test::Cluster;
109
use PostgreSQL::Test::Utils;
1110
use Test::More;

‎src/test/recovery/t/004_timeline_switch.pl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# Test for timeline switch
55
use strict;
66
use warnings;
7-
use File::Pathqw(rmtree);
87
use PostgreSQL::Test::Cluster;
98
use PostgreSQL::Test::Utils;
109
use Test::More;

‎src/test/recovery/t/019_replslot_limit.pl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
use PostgreSQL::Test::Utils;
1111
use PostgreSQL::Test::Cluster;
12-
13-
use File::Pathqw(rmtree);
1412
use Test::More;
1513
use Time::HiResqw(usleep);
1614

@@ -429,7 +427,7 @@ sub advance_wal
429427
{
430428
my ($node,$n) =@_;
431429

432-
# Advance by $n segments (= (16 * $n)MB) on primary
430+
# Advance by $n segments (= (wal_segment_size * $n)bytes) on primary.
433431
for (my$i = 0;$i <$n;$i++)
434432
{
435433
$node->safe_psql('postgres',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp