diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2024-03-15 14:32:25 +0200 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2024-03-15 14:38:22 +0200 |
commit | 7a65cc079e717c5d87f1920929affe7138c31eee (patch) | |
tree | 342f809c4cc3e9049c5c4df623626e39c1c432f5 /src | |
parent | 4c2eda67f55a8a263820d12aaeaa7e1dfe7406ee (diff) | |
download | postgresql-7a65cc079e717c5d87f1920929affe7138c31eee.tar.gz postgresql-7a65cc079e717c5d87f1920929affe7138c31eee.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/test/modules/test_misc/t/005_timeouts.pl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/modules/test_misc/t/005_timeouts.pl b/src/test/modules/test_misc/t/005_timeouts.pl index e67b3e694b9..dc452136853 100644 --- a/src/test/modules/test_misc/t/005_timeouts.pl +++ b/src/test/modules/test_misc/t/005_timeouts.pl @@ -44,7 +44,7 @@ $psql_session->query_until( \q )); -# Wait until the backend is in the timeout injection point. Will get an error +# Wait until the backend enters the timeout injection point. Will get an error # here if anything goes wrong. $node->wait_for_event('client backend', 'transaction-timeout'); @@ -58,13 +58,13 @@ $node->safe_psql('postgres', $node->wait_for_log('terminating connection due to transaction timeout', $log_offset); -# If we send \q with $psql_session->quit it can get to pump already closed. -# So \q is in initial script, here we only finish IPC::Run. +# If we send \q with $psql_session->quit the command can be sent to the session +# already closed. So \q is in initial script, here we only finish IPC::Run. $psql_session->{run}->finish; # -# 2. Test of the sidle in transaction timeout +# 2. Test of the idle in transaction timeout # $node->safe_psql('postgres', @@ -80,7 +80,7 @@ $psql_session->query_until( BEGIN; )); -# Wait until the backend is in the timeout injection point. +# Wait until the backend enters the timeout injection point. $node->wait_for_event('client backend', 'idle-in-transaction-session-timeout'); @@ -111,7 +111,7 @@ $psql_session->query_until( SET idle_session_timeout to '10ms'; )); -# Wait until the backend is in the timeout injection point. +# Wait until the backend enters the timeout injection point. $node->wait_for_event('client backend', 'idle-session-timeout'); $log_offset = -s $node->logfile; |