Re: pgsql: Add TAP tests for timeouts - Mailing list pgsql-committers

From Andrey M. Borodin
Subject Re: pgsql: Add TAP tests for timeouts
Date
Msg-id 69911848-14E9-4B9E-B941-91CA09FD30A2@yandex-team.ru
Whole thread Raw
In response to Re: pgsql: Add TAP tests for timeouts  ("Andrey M. Borodin" <x4mmm@yandex-team.ru>)
List pgsql-committers

> On 15 Mar 2024, at 11:20, Andrey M. Borodin <x4mmm@yandex-team.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=postgreshost=[local] 
    2024-03-15 03:35:26.623 UTC [1405009:4] LOG: received immediate shutdown request


Best regards, Andrey Borodin.


pgsql-committers by date:

Previous
From: "Andrey M. Borodin"
Date:
Subject: Re: pgsql: Add TAP tests for timeouts
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Add TAP tests for timeouts