Re: Testing with concurrent sessions - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Testing with concurrent sessions
Date
Msg-id C4F77991-9AA4-4112-9066-D45C6BD5D242@kineticode.com
Whole thread Raw
In response to Testing with concurrent sessions  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Testing with concurrent sessions  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-hackers
On Jan 1, 2010, at 6:01 PM, Kevin Grittner wrote:

> It's very soon going to be critical that I be able to test particular
> interleavings of statements in particular concurrent transaction sets
> to be able to make meaningful progress on the serializable
> transaction work.  It would be wonderful if some of these scripts
> could be integrated into the PostgreSQL 'make check' scripts,
> although that's not an absolute requirement.  I'm not really
> concerned about performance tests for a while, just testing the
> behavior of particular interleavings of statements in multiple
> sessions.  If psql isn't expected to support that soon, any
> suggestions?  Is pgTAP suited to this?

We've discussed it a bit in the past with regard to testing replication and such. I think the consensus was, failing
supportfor concurrent sessions in psql, to use a Perl script to control multiple psql sessions and perhaps use
Test::Moreto do the testing. Although pgTAP might make sense, too, if the tests ought to run in the database. 

Best,

David



pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: PATCH: Add hstore_to_json()
Next
From: Robert Haas
Date:
Subject: Re: [BUG?] strange behavior in ALTER TABLE ... RENAME TO on inherited columns