Re: Testing with concurrent sessions

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Testing with concurrent sessions
Дата
Msg-id 4B44B926020000250002DE0B@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: Testing with concurrent sessions  (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>)
Список pgsql-hackers
Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi> wrote:
> On 2010-01-07 00:08 +0200, Peter Eisentraut wrote:
>> Then I don't see much of a point in using Perl.  You might as
>> well fire up a few psqls from a shell script.
> 
> I don't see how that would work, but I might have misunderstood
> what we're reaching for here.  What I think would be most useful
> would be to interleave statements between transactions, not just
> randomly fire psql sessions and hope for race conditions.
Yeah, I want to test specific interleavings of statements on
concurrent connections.  There may *also* be some tests which throw
a lot at the server concurrently in a more random fashion, but it is
important to be able to have some very controlled tests where we
don't count on randomly creating the desired conflicts.
It would be valuable to be able to include some of these tests with
controlled and predicatable statement interleavings in the "make
check" tests.
-Kevin


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: win32 socket definition
Следующее
От: Arie Bikker
Дата:
Сообщение: Re: xpath improvement suggestion