Re: Race conditions with TAP test for syncrep

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: Race conditions with TAP test for syncrep
Дата
Msg-id 20190723064553.GA2008253@rfd.leadboat.com
обсуждение исходный текст
Ответ на Re: Race conditions with TAP test for syncrep  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Race conditions with TAP test for syncrep  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Tue, Jun 18, 2019 at 09:59:08AM +0900, Michael Paquier wrote:
> On Mon, Jun 17, 2019 at 10:50:39AM -0400, Alvaro Herrera wrote:
> > I think this should be note() rather than print(), or maybe diag().  (I
> > see that we have a couple of other cases which use print() in the tap
> > tests, which I think should be note() as well.)
> 
> OK.  Let's change it for this patch.

PostgresNode uses "print" the same way.  The patch does close the intended
race conditions, and its implementation choices look fine to me.



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: initdb recommendations
Следующее
От: Ning Yu
Дата:
Сообщение: Re: Possible race condition in pg_mkdir_p()?