Re: TAP test breakage on MacOS X

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: TAP test breakage on MacOS X
Дата
Msg-id 20141031050431.GC417926@tornado.leadboat.com
обсуждение исходный текст
Ответ на Re: TAP test breakage on MacOS X  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: TAP test breakage on MacOS X
Список pgsql-hackers
On Thu, Oct 30, 2014 at 10:49:33PM -0400, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
> > There are other issues. I am not going to enable this in the buildfarm 
> > until the check test can work from a single install. It's insane for the 
> > bin tests to take an order of magnitude longer than the main regression 
> > suite.
> 
> I think the installs as such aren't the only reason for the sucky
> performance.  We need to also reduce the number of initdb cycles incurred
> by the TAP tests.  It's useless for example that the pg_controldata test
> creates its very own $PGDATA rather than sharing one with other tests.
> 
> This line of thought implies that the tests will become less independent
> of each other, which will probably result in them being a bit harder to
> maintain.  Still, we are paying an awful lot of cycles for not much, as
> things stand at the moment.

One could memoize initdb within the suite.  Call it once per distinct command
line, caching the resulting data directory.  Copy the cached data directory
for each test desiring one.



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: group locking: incomplete patch, just for discussion
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: WAL format and API changes (9.5)