Re: Fix bloom WAL tap test
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Alexander Korotkov <a.korotkov@postgrespro.ru>,
Masahiko Sawada <sawada.mshk@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-11-10T17:37:29Z
Lists: pgsql-hackers
Michael Paquier <michael.paquier@gmail.com> writes: > On Thu, Nov 9, 2017 at 7:51 PM, Alexander Korotkov > <a.korotkov@postgrespro.ru> wrote: >> OK, then so be it :) > Thanks for the new version. This one, as well as the switch to > psql_safe in https://www.postgresql.org/message-id/CAPpHfduxgEYF_0BTs-mxGC4=w5sw8rnUbq9BSTp1Wq7=NwrWDA@mail.gmail.com > are good for a committer lookup IMO. The safe_psql change is a clear bug fix, so I've pushed it. However, as far as adding the TAP test to the standard test suite goes, I've got two complaints about this patch: 1. It doesn't (I think, can't test) do anything to run the test on Windows. 2. The TAP test is enormously slower than the standard test. On my development workstation, "make installcheck" in contrib/bloom takes about 0.5 sec; this patch increases that to 11.6 sec. I'm not too happy about that as a developer, and even less so as an owner of some fairly slow buildfarm critters. I'd say that this might be the reason the TAP test wasn't part of the standard tests to begin with. Is there anything we can do to cut the runtime of the TAP test to the point where running it by default wouldn't be so painful? regards, tom lane
Commits
-
Tighten test in contrib/bloom/t/001_wal.pl.
- 859662c26cf9 9.6.7 landed
- d33fc27e8df6 10.2 landed
- 7e60e678615b 11.0 landed