]> granicus.if.org Git - postgresql/commit
Suppress occasional failures in brin regression test.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 May 2015 18:10:46 +0000 (14:10 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 May 2015 18:11:12 +0000 (14:11 -0400)
commit1f303fd1be51f26553e7c95d8696aa4e28ece1c6
tree93f1b3633727db931f79fd9ba224c81dc9540b74
parentfba12c8c6c4159e1923958a4006b26f3cf873254
Suppress occasional failures in brin regression test.

brin.sql included a call of brin_summarize_new_values(), and expected
it to always report exactly 5 summarization events.  This failed sometimes
during parallel regression tests, as a consequence of the database-wide
VACUUM in gist.sql getting there first.  The most future-proof way
to avoid variation in the test results is to forget about using
brin_summarize_new_values() and just do a plain "VACUUM brintest",
which will exercise the same code anyway.

Having done that, there's no need for preventing autovacuum on brintest;
doing so just reduces the scope of test coverage, so let's not.
src/test/regress/expected/brin.out
src/test/regress/sql/brin.sql