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

Appearance settings

Commit 7a65cc0

Browse filesBrowse files
committed
Fix wordings in timeouts TAP test
Reported-by: Kyotaro Horiguchi Discussion: https://postgr.es/m/20240315.104235.1835366724413653745.horikyota.ntt%40gmail.com Author: Andrey Borodin
1 parent 4c2eda6 commit 7a65cc0
Copy full SHA for 7a65cc0

File tree

Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed

‎src/test/modules/test_misc/t/005_timeouts.pl

Copy file name to clipboardExpand all lines: src/test/modules/test_misc/t/005_timeouts.pl
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
\q
4545
));
4646

47-
# Wait until the backend is in the timeout injection point. Will get an error
47+
# Wait until the backend enters the timeout injection point. Will get an error
4848
# here if anything goes wrong.
4949
$node->wait_for_event('client backend', 'transaction-timeout');
5050

@@ -58,13 +58,13 @@
5858
$node->wait_for_log('terminating connection due to transaction timeout',
5959
$log_offset);
6060

61-
# If we send \q with $psql_session->quit it can get to pump already closed.
62-
# So \q is in initial script, here we only finish IPC::Run.
61+
# If we send \q with $psql_session->quit the command can be sent to the session
62+
# already closed. So \q is in initial script, here we only finish IPC::Run.
6363
$psql_session->{run}->finish;
6464

6565

6666
#
67-
# 2. Test of the sidle in transaction timeout
67+
# 2. Test of the idle in transaction timeout
6868
#
6969

7070
$node->safe_psql('postgres',
@@ -80,7 +80,7 @@
8080
BEGIN;
8181
));
8282

83-
# Wait until the backend is in the timeout injection point.
83+
# Wait until the backend enters the timeout injection point.
8484
$node->wait_for_event('client backend',
8585
'idle-in-transaction-session-timeout');
8686

@@ -111,7 +111,7 @@
111111
SET idle_session_timeout to '10ms';
112112
));
113113

114-
# Wait until the backend is in the timeout injection point.
114+
# Wait until the backend enters the timeout injection point.
115115
$node->wait_for_event('client backend', 'idle-session-timeout');
116116

117117
$log_offset = -s $node->logfile;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.