We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent655f5b3 commit922bfbdCopy full SHA for 922bfbd
t/001_wal.pl
@@ -1,8 +1,8 @@
1
# Test generic xlog record work for rum index replication.
2
use strict;
3
use warnings;
4
-usePostgresNode;
5
-useTestLib;
+usePostgreSQL::Test::Cluster;
+usePostgreSQL::Test::Utils;
6
use Test::Moretests=> 31;
7
8
my$node_master;
@@ -50,7 +50,7 @@ sub test_index_replay
50
}
51
52
# Initialize master node
53
-$node_master =get_new_node('master');
+$node_master =PostgreSQL::Test::Cluster->new('master');
54
$node_master->init(allows_streaming=> 1);
55
$node_master->start;
56
my$backup_name ='my_backup';
@@ -59,7 +59,7 @@ sub test_index_replay
59
$node_master->backup($backup_name);
60
61
# Create streaming standby linking to master
62
-$node_standby =get_new_node('standby');
+$node_standby =PostgreSQL::Test::Cluster->new('standby');
63
$node_standby->init_from_backup($node_master,$backup_name,
64
has_streaming=> 1);
65
$node_standby->start;