pgsql: Add more debugging information with log checks in TAP tests of p

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add more debugging information with log checks in TAP tests of p
Date: 2021-06-25 00:57:19
Message-ID: E1lwa9n-0006RY-1D@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add more debugging information with log checks in TAP tests of pgbench

fairywren is not happy with the pattern checks introduced by c13585f.
I am not sure if this outlines a bug in pgbench or if the regex patterns
used in the tests are too restrictive for this buildfarm member's
environment. This adds more debugging information to show the log
entries that do not match with the expected pattern, to help in finding
out what's happening. That seems like a good addition in the long-term
anyway as that may not be the only issue in this area.

Discussion: https://postgr.es/m/YNUad2HvgW+6eXyo@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/87b2124dfa0782a697ea7b90aff15a6f6117a720

Modified Files
--------------
src/bin/pgbench/t/001_pgbench_with_server.pl | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2021-06-25 01:36:53 Re: pgsql: Fix pattern matching logic for logs in TAP tests of pgbench
Previous Message Michael Paquier 2021-06-25 00:26:21 Re: pgsql: Fix pattern matching logic for logs in TAP tests of pgbench