pgsql: Fix new TAP test for 2PC transactions and PITRs on Windows

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Fix new TAP test for 2PC transactions and PITRs on Windows
Дата
Msg-id E1lO8ng-00082F-Cu@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix new TAP test for 2PC transactions and PITRs on Windows

The test added by 595b9cb forgot that on Windows it is necessary to set
up pg_hba.conf (see PostgresNode::set_replication_conf) with a specific
entry or base backups fail.  Any node that requires to support
replication just needs to pass down allows_streaming at initialization.
This updates the test to do so.  Simplify things a bit while on it.

Per buildfarm member fairywren.  Any Windows hosts running this test
would have failed, and I have reproduced the problem as well.

Backpatch-through: 10

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/992d353a190c551db39bcab2dec0ecf14fbc7a40

Modified Files
--------------
src/test/recovery/t/023_pitr_prepared_xact.pl | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Simplify TAP tests of kerberos with expected log file contents
Следующее
От: Noah Misch
Дата:
Сообщение: pgsql: Make a test endure log_error_verbosity=verbose.