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

Commit922bfbd

Browse files
committed
TAP test compatibility with PG15
1 parent655f5b3 commit922bfbd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎t/001_wal.pl‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Test generic xlog record work for rum index replication.
22
use strict;
33
use warnings;
4-
usePostgresNode;
5-
useTestLib;
4+
usePostgreSQL::Test::Cluster;
5+
usePostgreSQL::Test::Utils;
66
use Test::Moretests=> 31;
77

88
my$node_master;
@@ -50,7 +50,7 @@ sub test_index_replay
5050
}
5151

5252
# Initialize master node
53-
$node_master =get_new_node('master');
53+
$node_master =PostgreSQL::Test::Cluster->new('master');
5454
$node_master->init(allows_streaming=> 1);
5555
$node_master->start;
5656
my$backup_name ='my_backup';
@@ -59,7 +59,7 @@ sub test_index_replay
5959
$node_master->backup($backup_name);
6060

6161
# Create streaming standby linking to master
62-
$node_standby =get_new_node('standby');
62+
$node_standby =PostgreSQL::Test::Cluster->new('standby');
6363
$node_standby->init_from_backup($node_master,$backup_name,
6464
has_streaming=> 1);
6565
$node_standby->start;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp