pgsql: postgres_fdw: Stabilize regression test for postgres_fdw_disconn

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: postgres_fdw: Stabilize regression test for postgres_fdw_disconn
Date: 2021-01-26 07:37:12
Message-ID: E1l4IuW-0002IQ-8Q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

postgres_fdw: Stabilize regression test for postgres_fdw_disconnect_all().

The regression test added in commit 411ae64997 caused buildfarm failures.
The cause of them was that the order of warning messages output in the test
was not stable. To fix this, this commit sets client_min_messages to ERROR
temporarily when performing the test generating those warnings.

Per buildfarm failures.

Discussion: https://postgr.es/m/2147113.1611644754@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6adc5376dca4ef8b7d591c0ee7338cb9ff660216

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 6 +++---
contrib/postgres_fdw/sql/postgres_fdw.sql | 3 +++
2 files changed, 6 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2021-01-26 08:21:55 pgsql: postgres_fdw: Fix test failure with -DENFORCE_REGRESSION_TEST_NA
Previous Message Fujii Masao 2021-01-26 07:05:16 Re: pgsql: postgres_fdw: Add functions to discard cached connections.