postgresql/contrib/bloom
Tom Lane cf26a8d8a7 Fix instability in contrib/bloom TAP tests.
It turns out that the instability complained of in commit d3c09b9b1
has an embarrassingly simple explanation.  The test script waits for
the standby to flush incoming WAL to disk, but it should wait for
the WAL to be replayed, since we are testing for the effects of that
to be visible.

While at it, use wait_for_catchup instead of reinventing that logic,
and adjust $Test::Builder::Level to improve future error reports.

Back-patch to v12 where the necessary infrastructure came in
(cf. aforesaid commit).  Also back-patch 7d1aa6bf1 so that the
test will actually get run.

Discussion: https://postgr.es/m/2854602.1632852664@sss.pgh.pa.us
2021-09-28 17:34:31 -04:00
..
expected
sql
t Fix instability in contrib/bloom TAP tests. 2021-09-28 17:34:31 -04:00
.gitignore
blcost.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
blinsert.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
bloom--1.0.sql
bloom.control
bloom.h Implement operator class parameters 2020-03-30 19:17:23 +03:00
blscan.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
blutils.c Implement operator class parameters 2020-03-30 19:17:23 +03:00
blvacuum.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
blvalidate.c Implement operator class parameters 2020-03-30 19:17:23 +03:00
Makefile Fix instability in contrib/bloom TAP tests. 2021-09-28 17:34:31 -04:00