pgsql: Make subscription tests pass with log_error_verbosity=verbose

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make subscription tests pass with log_error_verbosity=verbose
Date: 2022-06-12 13:22:59
Message-ID: E1o0NYQ-003wcF-UV@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make subscription tests pass with log_error_verbosity=verbose

Recent additions to the subscription tests check for log entries, but
fail to account for the possible presence of an SQL errror code, which
happens if log_error_verbosity is set to 'verbose'. Add this into the
regular expressions that are checked for.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/19408aae7fa2bf28866fb262b27f08405e71152e

Modified Files
--------------
src/test/subscription/t/027_nosuperuser.pl | 10 +++++-----
src/test/subscription/t/029_on_error.pl | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-06-13 05:44:15 pgsql: Translation updates
Previous Message Bruce Momjian 2022-06-11 19:28:42 pgsql: relnotes: update word wrapping