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

Commitf6ced51

Browse files
committed
Consistently capitalize names of recovery tests
1 parenta5fe473 commitf6ced51

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

‎src/test/recovery/t/001_stream_rep.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@
5858

5959
# Check that only READ-only queries can run on standbys
6060
is($node_standby_1->psql('postgres','INSERT INTO tab_int VALUES (1)'),
61-
3,'Read-only queries on standby 1');
61+
3,'read-only queries on standby 1');
6262
is($node_standby_2->psql('postgres','INSERT INTO tab_int VALUES (1)'),
63-
3,'Read-only queries on standby 2');
63+
3,'read-only queries on standby 2');

‎src/test/recovery/t/003_recovery_targets.pl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ sub test_recovery_standby
9898
test_recovery_standby('XID','standby_2',$node_master, \@recovery_params,
9999
"2000",$lsn2);
100100
@recovery_params = ("recovery_target_time = '$recovery_time'");
101-
test_recovery_standby('Time','standby_3',$node_master, \@recovery_params,
101+
test_recovery_standby('time','standby_3',$node_master, \@recovery_params,
102102
"3000",$lsn3);
103103
@recovery_params = ("recovery_target_name = '$recovery_name'");
104-
test_recovery_standby('Name','standby_4',$node_master, \@recovery_params,
104+
test_recovery_standby('name','standby_4',$node_master, \@recovery_params,
105105
"4000",$lsn4);
106106

107107
# Multiple targets
@@ -111,17 +111,17 @@ sub test_recovery_standby
111111
"recovery_target_name = '$recovery_name'",
112112
"recovery_target_xid = '$recovery_txid'",
113113
"recovery_target_time = '$recovery_time'");
114-
test_recovery_standby('Name + XID +Time',
114+
test_recovery_standby('name + XID +time',
115115
'standby_5',$node_master, \@recovery_params,"3000",$lsn3);
116116
@recovery_params = (
117117
"recovery_target_time = '$recovery_time'",
118118
"recovery_target_name = '$recovery_name'",
119119
"recovery_target_xid = '$recovery_txid'");
120-
test_recovery_standby('Time +Name + XID',
120+
test_recovery_standby('time +name + XID',
121121
'standby_6',$node_master, \@recovery_params,"2000",$lsn2);
122122
@recovery_params = (
123123
"recovery_target_xid = '$recovery_txid'",
124124
"recovery_target_time = '$recovery_time'",
125125
"recovery_target_name = '$recovery_name'");
126-
test_recovery_standby('XID +Time +Name',
126+
test_recovery_standby('XID +time +name',
127127
'standby_7',$node_master, \@recovery_params,"4000",$lsn4);

‎src/test/recovery/t/005_replay_delay.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@
6666
# This test is successful if and only if the LSN has been applied with at least
6767
# the configured apply delay.
6868
ok(time() -$master_insert_time >=$delay,
69-
"Check thatstandby applies WAL only after replication delay");
69+
"standby applies WAL only after replication delay");

‎src/test/recovery/t/007_sync_rep.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ sub test_sync_state
127127
standby2|2|sync
128128
standby3|3|potential
129129
standby4|0|async),
130-
'2 sync, 1 potential and 1 async');
130+
'2 sync, 1 potential, and 1 async');
131131

132132
# Check that sync_state of each standby is determined correctly
133133
# when num_sync exceeds the number of names of potential sync standbys

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp