pgsql: Fix recovery_min_apply_delay test

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Fix recovery_min_apply_delay test
Дата
Msg-id E1alhzd-0002Cn-Fa@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix recovery_min_apply_delay test

Previously this test was relying too much on WAL replay to occur in the
exact configured interval, which was unreliable on slow or overly busy
servers.  Use a custom loop instead of poll_query_until, which is
hopefully more reliable.

Per continued failures on buildfarm member hamster (which is probably
the only one running this test suite)

Author: Michaël Paquier

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/61608d38361f911a741d4a7df63afe3c7221437e

Modified Files
--------------
src/test/recovery/t/005_replay_delay.pl | 56 ++++++++++++++++++++++-----------
1 file changed, 37 insertions(+), 19 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Support using index-only scans with partial indexes in more case
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Another zic portability fix.