Re: pgsql: Add TAP tests for timeouts

From: "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, akorotkov(at)postgresql(dot)org, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Add TAP tests for timeouts
Date: 2024-03-15 06:54:52
Message-ID: 69911848-14E9-4B9E-B941-91CA09FD30A2@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

> On 15 Mar 2024, at 11:20, Andrey M. Borodin <x4mmm(at)yandex-team(dot)ru> wrote:
>
> The failure seems to be Perl-related.

It’s not Perl-related. This is how wait_for_log() times out.

timed out waiting for match: terminating connection due to transaction timeout at t/005_timeouts.pl line 58.

But it did not even wait for a 100ms…

2024-03-15 03:32:26.492 UTC [1405044:4] 005_timeouts.pl LOG: statement: SELECT injection_points_wakeup('transaction-timeout’);
///// here we start to wait.
2024-03-15 03:32:26.492 UTC [1405044:5] 005_timeouts.pl LOG: disconnection: session time: 0:00:00.002 user=admin database=postgres host=[local]
2024-03-15 03:35:26.623 UTC [1405009:4] LOG: received immediate shutdown request

Best regards, Andrey Borodin.

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-03-15 07:44:10 Re: pgsql: Add TAP tests for timeouts
Previous Message Andrey M. Borodin 2024-03-15 06:20:49 Re: pgsql: Add TAP tests for timeouts